-
Notifications
You must be signed in to change notification settings - Fork 303
Add security context #1961
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
Add security context #1961
Conversation
Given the security context appears in 4 different places (once in the operator deployment itself, then in three places in the cluster statefulset), I suspect we may need to improve our documentation about overrides for OpenShift. |
Docs regarding openshift will need some updating. I'm going to run this locally in CRC, but we likely need to override the |
Let me know if you've figured out the necessary OpenShift overrides (or just push a commit to the branch). |
I had to switch to something else on Friday. I'm looking into it now. |
Indeed it doesn't like the STS condition
The error describes the problem:
This can be workaround with the suggestion from our docs that basically removes the Pod security context. With the security contexts in the containers, it's enough to pass the "restricted" validation. A potential improvement would be to set to I'll leave it to you to decide if you want to implement the annotation behaviour. |
This closes #1910 and #1960
Adds a securityContext to the cluster operator deployment context.
Adds securityContext to RabbitMQ Pods, containers, and init containers.