-
Notifications
You must be signed in to change notification settings - Fork 24
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
feat(helm): add global settings for commonly used values #634
base: main
Are you sure you want to change the base?
feat(helm): add global settings for commonly used values #634
Conversation
cde9617
to
bd175ff
Compare
podSecurityContext: {} | ||
# -- Global privileged mode settings that can be overridden per service | ||
# Determines if pods/containers can run with elevated privileges | ||
privileged: {} |
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 odd to have a global flag privileged
and it's only applicable to selective daemonset
why not just disable them separately?
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.
@michaellzc in Red Hat's OpenShift Kubernetes platform, containers are only allowed to run as specific UIDs / GIDs, so the customer's OpenShift admin provides the UID / GID number to their site admin, who currently has to copy / paste this big blob onto all services in their Helm override file, which about doubles the length of the file and makes it difficult to read. This fact took us a couple months to get to the bottom of on a current Implementation Services engagement, so this config and a coming doc update will save future OpenShift customers much time.
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.
too clarify, I understand the use case of global PSC. This comment is specifically about the privileged
flag.
bd175ff
to
79523da
Compare
79523da
to
8c750b5
Compare
REL-685: Add security context values to top sourcegraph values in Helm chart
Checklist
Test plan
TODO