-
Notifications
You must be signed in to change notification settings - Fork 402
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
[Helm] Expose security context in helm chart. #773
[Helm] Expose security context in helm chart. #773
Conversation
Signed-off-by: Dmitri Gekhtman <[email protected]>
I only took a glimpse, but is the naming really consistent? |
I'm open to suggestions! My main consideration when making changes to these charts is backwards compatibility. |
Basically, I'm saying |
Alright, then why do we not take the values from the other PR instead of |
I'd prefer to simply expose the configuration rather than copying it everywhere. |
Actually, sure -- I'll set the defaults to the recommended securityContext and then let users override as needed. |
Will repeat the same treatment for the auto-configured autoscaler container. |
Actually, never mind. The reason for not doing this by default is
Thus, it's better to clearly document the security context recommendation, but not to copy the more restrictive configuration everywhere. |
Thanks, @juliusvonkohout for prodding us to ensure that Ray can run on Kubernetes with proper security configuration! |
@kevin85421 this works exactly as expected when the relevant securityContext configuration is added. |
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
Expose securityContext for Ray container and initContainer in ray-cluster helm chart. Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman [email protected]
Why are these changes needed?
Exposes securityContext in Helm charts.
See #750.
TODO: Test with the workflows in #750
Related issue number
Checks