Pass SecurityContext for container from values
Fixes #200
I don't want to rush anyone, but the PR is ready I think and there are not that many changes. Would appreciate if anyone looked at it. Thank you!
@DarthSim
Awesome. Could you please mention containerSecurityContext field in the README? Besides that, looks good for me. @SimonWoidig
Awesome. Could you please mention
containerSecurityContextfield in the README? Besides that, looks good for me. @SimonWoidig
Will do!
Sorry for the noise, but I've updated the readme. The description for the pod securityContext didn't make much sense to me but I didn't change it. For the containerSecurityContext I have added a bit different description with a link to the K8s docs.
If you want, I can also change the securityContext to be more similar or vice versa (the containerSecurityContext).
Thank you. We have #198, which addresses the same issue. It renames securityContext to podSecurityContext which is much more logical - but breaks backward compatibility at the same time. I am going to merge your PR, and then will add podSecurityContext as an alias for securityContext (or vice versa) in the separate PR.