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

18 lines
370 B
YAML
Raw Permalink Normal View History

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