gcloud-lab/apps/base/customer1/pg-cluster-customer1.yaml
2026-01-06 05:41:53 +00:00

24 lines
480 B
YAML

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: customer1-pgdb
namespace: customer1
spec:
managed:
roles:
- name: customer1
ensure: present
login: true
passwordSecret:
name: customer1-db-credentials
instances: 3
imageName: ghcr.io/cloudnative-pg/postgresql:15.2
storage:
size: 5Gi
bootstrap:
initdb:
database: n8n
owner: customer1
secret:
name: customer1-db-credentials