airflow-kustom/components/airflow-cnpg-database/resources/airflow-cnpg-cluster.yaml

18 lines
339 B
YAML

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: airflow-postgres
spec:
instances: 3
primaryUpdateStrategy: unsupervised
superuserSecret:
name: airflow-postgres-admin
bootstrap:
initdb:
database: airflow
owner: airflow
secret:
name: airflow-postgres-user
storage:
size: 2Gi