Skip to content

[installer] add customCACert volume to ws-proxy #10850

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2022
Merged

[installer] add customCACert volume to ws-proxy #10850

merged 1 commit into from
Jun 23, 2022

Conversation

Pothulapati
Copy link
Contributor

@Pothulapati Pothulapati commented Jun 23, 2022

Description

After https://github.com/gitpod-io/gitpod/pull/10514/files#diff-b20fcd9b24f3f080dc12476d648794f320434fee1053e2195a18d2ecd38482e2R47-R49,
ws-proxy goes through the proxy to talk the ide-proxy. For self-signed instances of
Gitpod this means that ws-proxy also needs to trust the self-signed Cert.

For that to happen, This PR starts loading the customCACert onto ws-proxy
along with the necessary env variables.

Signed-off-by: Tarun Pothulapati [email protected]

Related Issue(s)

Fixes #

How to test

Release Notes

[installer] Fix workspace URL loading issue with `self-signed`

Documentation

Werft options:

  • /werft with-preview

This PR adds `customCACert` volume to `ws-proxy`

Signed-off-by: Tarun Pothulapati <[email protected]>
},
}

if vol, mnt, env, ok := common.CustomCACertVolume(ctx); ok {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the cert loading part. podSpec is separated so that its easier to do this.

@Pothulapati Pothulapati marked this pull request as ready for review June 23, 2022 08:21
@Pothulapati Pothulapati requested a review from a team June 23, 2022 08:21
@github-actions github-actions bot added the team: workspace Issue belongs to the Workspace team label Jun 23, 2022
@roboquat roboquat merged commit f92e0ad into main Jun 23, 2022
@roboquat roboquat deleted the ws-issue branch June 23, 2022 18:11
@roboquat roboquat added deployed: workspace Workspace team change is running in production deployed Change is completely running in production labels Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: workspace Workspace team change is running in production deployed Change is completely running in production release-note size/L team: workspace Issue belongs to the Workspace team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants