postgres-operator
postgres-operator copied to clipboard
Can't remove runAsUser from securityContext on helm deployment
- Which image of the operator are you using? -> registry.opensource.zalan.do/acid/postgres-operator:v1.10.1
- Where do you run it - cloud or metal? Kubernetes or OpenShift? [AWS K8s | GCP ... | Bare Metal K8s] -> OpenShift
- Are you running Postgres Operator in production? [yes | no] -> no
- Type of issue? [Bug report, question, feature request, etc.] -> feature request
I would like to use the helm chart for deploying the postgres operator. There is a problem with your helm chart because i can't create the deployment out of the chart without runAsUser: 1000 from your predefined securityContext.
Actually i have used the manual deployment process for the operator to comment out the runAsUser line.
In OpenShift pods will started with an arbitrary UID. The default SCC do not allow defined UIDs.
Is there a possibility to declare runAsUser as optional?