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

18 lines
370 B
YAML
Raw Normal View History

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
2023-06-19 14:28:01 +02:00
name: myapplication-postgres
spec:
instances: 3
primaryUpdateStrategy: unsupervised
superuserSecret:
2023-06-19 14:28:01 +02:00
name: myapplication-postgres-admin
bootstrap:
initdb:
2023-06-19 14:28:01 +02:00
database: myapplication
owner: myapplication
secret:
2023-06-19 14:28:01 +02:00
name: myapplication-postgres-user
storage:
size: 20Gi