Skip to content

CNPG Operator

The CloudNativePG operator for managing PostgreSQL clusters declaratively. Cluster-wide install in cnpg-system; a prerequisite for Backstage RAG Postgres.

Deploy

Point a Flux Kustomization at ./apps/cnpg-operator:

---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
  name: cnpg-operator
  namespace: flux-system
spec:
  interval: 1h
  sourceRef:
    kind: GitRepository
    name: stuttgart-things # confirm the name in your cluster
  path: ./apps/cnpg-operator
  prune: true
  wait: true

Substitution Variables

Var Default
CNPG_NAMESPACE cnpg-system
CNPG_VERSION 0.28.2

See apps/cnpg-operator/README.md for the full reference.