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

18 lines
333 B
YAML

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