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

18 lines
339 B
YAML
Raw Permalink Normal View History

2023-04-24 11:41:51 +02:00
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