sso-kustom/components/hydra-cnpg-database/resources/hydra-cnpg-cluster.yaml

17 lines
328 B
YAML
Raw Permalink Normal View History

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