Add securityContext runAsNonRoot on Postgres Statefullset #2082
Add securityContext runAsNonRoot on Postgres Statefullset #2082yyvess wants to merge 1 commit intozalando:masterfrom
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)