postgres-operator
postgres-operator copied to clipboard
Inject additional volumes on operator level
Please, answer some short questions which should help us to understand your problem / question better?
- Which image of the operator are you using?
registry.opensource.zalan.do/acid/postgres-operator:v1.6.3 - Where do you run it - cloud or metal? Kubernetes or OpenShift? Bare Metal K8s
- Are you running Postgres Operator in production? yes
- Type of issue? [Bug report, question, feature request, etc.] Question/Feature Request
In case I did not overlook anything it is currently possible to add additional volumes through the additionalVolumes attribute in the postgresql cluster object but not globally. My use-case is to provide additional certificates to all clusters, and for that it would be helpful to configure additional volumes on the operator level similar to sidecars.
I’d appreciate a pointer to the docs if this feature exists already.
Just discovered another use-case: I need to mount a ConfigMap to a sidecar container that shall be present on all database clusters.
Similar question being asked here https://github.com/zalando/postgres-operator/issues/1322.
Edit: Sorry, didn't read enough documentation. My case should be possible with additionalVolumes.