-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[ws-daemon] Support GIT_SSL_CAINFO #9613
Conversation
038e579
to
44baf3c
Compare
44baf3c
to
c46b10c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Can confirm that this fixes the self-signed
SCM issue!
Value: mountPath, | ||
env = []corev1.EnvVar{ | ||
{Name: "NODE_EXTRA_CA_CERTS", Value: mountPath}, | ||
{Name: "GIT_SSL_CAINFO", Value: mountPath}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIOLI: Should we move this to ws-daemon
daemonset? As its only needed there. keeping it here means that we add it to a lot of control-plane components 🤔 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's also needed in the workspace to make the git operations work well there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Builds, code LGTM. did not test because that's already done.
small nit about usage scope here, but seems to broaden the scope of this PR. 👍
Description
Fixes custom CA certs during content init in ws-daemon.
Much simpler than #9609
Related Issue(s)
Fixes #9604
How to test
Use with an SCM with custom CA certs
Release Notes