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
Unset Worker SecurityContexts when pachd.securityContext.enabled=false #7218
Conversation
… false when helm's pachd.securityContext.enabled=false
e03d9f9
to
8b41eaf
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
@@ -152,6 +152,10 @@ spec: | |||
- name: NO_PROXY | |||
value: {{.Values.global.noProxy}} | |||
{{ end }} | |||
{{- if not .Values.pachd.securityContext.enabled }} |
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.
This feels a little weird, I think we should be pulling using the .enabled value as the value of the env var itself
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.
See note
#7218) Exposing pachd env-var ENABLE_WORKER_SECURITY_CONTEXTS that is set to false when helm's pachd.securityContext.enabled=false
No description provided.