This commit is contained in:
2023-06-19 14:28:01 +02:00
parent dcb1650d4a
commit 26fd9f2e9f
15 changed files with 67 additions and 66 deletions

View File

@ -0,0 +1,17 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: myapplication-postgres
spec:
instances: 3
primaryUpdateStrategy: unsupervised
superuserSecret:
name: myapplication-postgres-admin
bootstrap:
initdb:
database: myapplication
owner: myapplication
secret:
name: myapplication-postgres-user
storage:
size: 20Gi