hydra-sql/misc/k8s/kustomization/base/components/app-cnpg/resources/hydra-sql-cnpg-cluster.yaml
rudy 22231f791f
All checks were successful
Cadoles/hydra-sql/pipeline/pr-develop This commit looks good
issue-14: structure kubernetes
2023-06-15 15:38:14 +02:00

18 lines
350 B
YAML

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