Skip to content

Allow specifying additional volumes for pods via helm chart #4177

Open
@keithlayne

Description

@keithlayne

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions