fix(helm): clean install of airflow helm

This commit is contained in:
Philippe Caseiro 2023-04-24 14:05:51 +02:00
parent eb5ff5a4c2
commit 83c67eb4bf
2 changed files with 19 additions and 21 deletions

View File

@ -7,11 +7,27 @@ generatorOptions:
components: components:
- ./components/airflow-cnpg-database - ./components/airflow-cnpg-database
resources:
- ./resources/helm.yaml
secretGenerator: secretGenerator:
- name: airflow-webserver-secret-key - name: airflow-webserver-secret-key
type: secret type: secret
literals: literals:
- webserver-secret-key=c94b62cffbf4dd1c42747fc65007054432f10c185c5e6160 - webserver-secret-key=c94b62cffbf4dd1c42747fc65007054432f10c185c5e6160
helmCharts:
- name: airflow
repo: https://airflow.apache.org
version: 1.9.0
releaseName: airflow
valuesInline:
postgresql:
enabled: false
pgbouncer:
enabled: true
data:
metadataSecretName: airflow-postgres-connection
webserverSecretKeySecretName: airflow-webserver-secret-key
env:
- name: "DB_SERVICE_HOST"
value: "$(AIRFLOW_DATABASE_SERVICE_NAME)-rw"
- name: "DB_SERVICE_PORT"
value: "5432"

View File

@ -1,18 +0,0 @@
helmCharts:
- name: airflow
repo: https://airflow.apache.org
version: 1.9.0
releaseName: airflow
valuesInline:
postgresql:
enabled: false
pgbouncer:
enabled: true
data:
metadataSecretName: airflow-postgres-connection
webserverSecretKeySecretName: airflow-webserver-secret-key
env:
- name: "DB_SERVICE_HOST"
value: "$(AIRFLOW_DATABASE_SERVICE_NAME)-rw"
- name: "DB_SERVICE_PORT"
value: "5432"