2023-06-13 15:44:55 +02:00
|
|
|
apiVersion: postgresql.cnpg.io/v1
|
|
|
|
kind: Cluster
|
|
|
|
metadata:
|
2023-06-19 13:58:25 +02:00
|
|
|
name: myapplication-postgres
|
2023-06-13 15:44:55 +02:00
|
|
|
spec:
|
|
|
|
instances: 3
|
|
|
|
primaryUpdateStrategy: unsupervised
|
|
|
|
superuserSecret:
|
2023-06-19 13:58:25 +02:00
|
|
|
name: myapplication-postgres-admin
|
2023-06-13 15:44:55 +02:00
|
|
|
bootstrap:
|
|
|
|
initdb:
|
2023-06-19 13:58:25 +02:00
|
|
|
database: myapplication
|
|
|
|
owner: myapplication
|
2023-06-13 15:44:55 +02:00
|
|
|
secret:
|
2023-06-19 13:58:25 +02:00
|
|
|
name: myapplication-postgres-user
|
2023-06-13 15:44:55 +02:00
|
|
|
storage:
|
|
|
|
size: 20Gi
|