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

18 lines
331 B
YAML
Raw 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
2024-09-26 09:50:54 +02:00
#secret:
# name: hydra-postgres-user
2023-01-25 20:27:27 +01:00
storage:
2024-09-26 09:50:54 +02:00
size: 2Gi