Skip to content
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

Merged
merged 3 commits into from Jan 5, 2022

Conversation

acohen4
Copy link
Contributor

@acohen4 acohen4 commented Jan 5, 2022

No description provided.

@acohen4 acohen4 force-pushed the acohen4/disable-worker-sec-ctx branch from e03d9f9 to 8b41eaf Compare January 5, 2022 17:32
Copy link
Contributor

@brendoncarroll brendoncarroll left a 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 }}
Copy link
Contributor

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

Copy link
Contributor

@chainlink chainlink left a comment

Choose a reason for hiding this comment

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

See note

@acohen4 acohen4 requested a review from chainlink January 5, 2022 18:37
@acohen4 acohen4 merged commit 32966c1 into master Jan 5, 2022
acohen4 added a commit that referenced this pull request Jan 5, 2022
#7218)

Exposing pachd env-var ENABLE_WORKER_SECURITY_CONTEXTS that is set to false when helm's pachd.securityContext.enabled=false
acohen4 added a commit that referenced this pull request Jan 5, 2022
#7218) (#7223)

Exposing pachd env-var ENABLE_WORKER_SECURITY_CONTEXTS that is set to false when helm's pachd.securityContext.enabled=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants