-
Notifications
You must be signed in to change notification settings - Fork 1k
Add securityContext runAsNonRoot on Postgres Statefullset #2082
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
base: master
Are you sure you want to change the base?
Conversation
+1, nice and we need this as well. |
…iloRunAsUser is defined and not root
b82e146
to
3792441
Compare
We also need this! ❤️ |
@sdudoladov any news regarding this? :D |
bump 🤞 |
from the docs... https://github.com/zalando/postgres-operator/blob/master/docs/reference/operator_parameters.md
guess its already configurable... trying it currently |
@msglueck The documentation that you referring don't talk about the flag runAsNonRoot. . This PR "compute" the value runAsNonRoot from the value spilo_runasuser. An other option can be to add a new spilo option spilo_runasroot : boolean But I not will not consume more time here when I see that PR still open without any comment during years ... |
Anyone still working on this topic, I am trying to configure this operator in kubernetes cluster with kyverno policies for security. And runAsNonRoot is mandatory. It is missing also in the operator-ui but also in the cluster configuration itself. Now it can only be added in postgres-operator |
@kndoni
|
Set RunAsNonRoot on securityContext of Postgres statfullset
Fix (#2081)