postgres-operator icon indicating copy to clipboard operation
postgres-operator copied to clipboard

Inject additional volumes on operator level

Open stephan2012 opened this issue 4 years ago • 3 comments

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.

stephan2012 avatar Jun 09 '21 06:06 stephan2012

Just discovered another use-case: I need to mount a ConfigMap to a sidecar container that shall be present on all database clusters.

stephan2012 avatar Mar 18 '22 15:03 stephan2012

Similar question being asked here https://github.com/zalando/postgres-operator/issues/1322.

mhaley-tignis avatar Apr 13 '22 15:04 mhaley-tignis

Edit: Sorry, didn't read enough documentation. My case should be possible with additionalVolumes.

Foxeronie avatar Jun 02 '22 13:06 Foxeronie