DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
postgres-operator logoHELM

postgres-operator

Helm chart
Last changed
Request a free trial

Contact our team to test out this Helm chart and related images for free. Please also indicate any other images you would like to evaluate.

Overview
Chart tags
Default values
Chart metadata
Images

postgres-operator

Chainguard's redistribution of the Zalando Postgres Operator Helm chart, pre-configured with hardened Chainguard Images.

The chart deploys the operator and points its configuration at Chainguard images for the workloads the operator creates:

  • postgres-operator for the operator itself
  • spilo for the PostgreSQL cluster pods
  • postgres-operator-logical-backup for the logical-backup CronJob
  • zalando-pgbouncer for the connection pooler

Prerequisites

Authentication is required to access this chart and its images. First, authenticate with Chainguard and configure your environment:

chainctl auth login
chainctl auth configure-docker --pull-token --save
helm registry login cgr.dev

Create an image pull secret in the operator namespace, and in every namespace you create PostgreSQL clusters in:

kubectl create secret docker-registry cgr-pull-secret \
  --docker-server=cgr.dev \
  --docker-username="$(echo cgr.dev | docker-credential-cgr get | jq -r '.Username')" \
  --docker-password="$(echo cgr.dev | docker-credential-cgr get | jq -r '.Secret')" \
  --namespace postgres-operator

Installation

imagePullSecrets applies to the operator pod. The cluster, logical-backup and pooler pods run under the operator's pod service account (postgres-pod by default), so attach the pull secret to that account's definition:

# values.yaml
imagePullSecrets:
  - name: cgr-pull-secret
configKubernetes:
  pod_service_account_definition: '{"apiVersion":"v1","kind":"ServiceAccount","metadata":{"name":"postgres-pod"},"imagePullSecrets":[{"name":"cgr-pull-secret"}]}'
helm install postgres-operator oci://cgr.dev/ORGANIZATION/charts/postgres-operator \
  --namespace postgres-operator \
  --create-namespace \
  --values values.yaml

The operator creates the postgres-pod service account only when it is missing and never updates an existing one. When replacing an existing operator install, delete or patch that account in each cluster namespace so it carries the pull secret.

FIPS

A FIPS variant of the chart is published under -fips tags. It points the operator at postgres-operator-fips, spilo-fips, postgres-operator-logical-backup-fips and zalando-pgbouncer-fips. Helm treats -fips tags as prereleases and installs the non-FIPS chart when no version is given, so pass --version with the -fips tag of the chart version you want, as listed on the Directory's tags page:

helm install postgres-operator oci://cgr.dev/ORGANIZATION/charts/postgres-operator \
  --version <chart-version>-fips \
  --namespace postgres-operator \
  --create-namespace \
  --values values.yaml

MD5 is not a FIPS-approved algorithm, so roles should use scram-sha-256 password verifiers. PostgreSQL 14 and later store passwords that way by default.

About This Chart

This is a redistribution of the upstream postgres-operator Helm chart. All upstream configuration options and documentation apply.

For full documentation, see: https://postgres-operator.readthedocs.io/

Chart versions
  • 2.0.3

    Latest
  • 2.0

  • 2

View all chart versions

Images

Helm charts contain references to Chainguard Container images. The following images are referenced in the chart:

zalando-pgbouncer logo

zalando-pgbouncer


The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.