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

Allow specifying additional volumes for pods via helm chart

Open keithlayne opened this issue 5 months ago • 3 comments

Overview

I'd like to be able to specify additional volumes for the various cluster pods via the helm chart. I've run across multiple helm charts that use something like extraVolumes as a key in the values.

Now that sidecar containers can be easily configured for the database and pgBouncer pods, this would be a welcome improvement to make that feature more useful.

Use Case

My immediate use case is to allow mounting a ConfigMap for a pgBouncer sidecar container. I'd like to put my sidecar configuration there, and reload it with an additional sidecar. This is exactly how the pgBouncer pod works to avoid restarting the pod when config changes. I'd like to have the same flexibility with my sidecar container.

Desired Behavior

For example, add a proxy.pgBouncer.extraVolumes value and include it the volumes spec for that pod. This could additionally be valuable for any db sidecars.

Environment

  • Platform: Kubernetes
  • Platform Version: 1.30
  • PGO Image Tag: ubi8-16.8-0
  • Postgres Version: 16

keithlayne avatar May 10 '25 12:05 keithlayne