symfony-kube-skeletor/misc/k8s/kustomization/base/components/MYAPPLICATION-cnpg/resources/MYAPPLICATION-cnpg-cluster....

18 lines
370 B
YAML

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: MYAPPLICATION-postgres
spec:
instances: 3
primaryUpdateStrategy: unsupervised
superuserSecret:
name: MYAPPLICATION-postgres-admin
bootstrap:
initdb:
database: MYAPPLICATION
owner: MYAPPLICATION
secret:
name: MYAPPLICATION-postgres-user
storage:
size: 20Gi