From 23e8dfac9d96788a5aa088e91f297866f2e0085d Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Mon, 24 Apr 2023 14:05:51 +0200 Subject: [PATCH] fix(helm): clean install of airflow helm --- kustomization.yaml | 19 +++++++++++++++++++ resources/helm.yaml | 18 ------------------ 2 files changed, 19 insertions(+), 18 deletions(-) delete mode 100644 resources/helm.yaml diff --git a/kustomization.yaml b/kustomization.yaml index 995daac..fb789a2 100644 --- a/kustomization.yaml +++ b/kustomization.yaml @@ -15,3 +15,22 @@ secretGenerator: type: secret literals: - 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" diff --git a/resources/helm.yaml b/resources/helm.yaml deleted file mode 100644 index ca0fba9..0000000 --- a/resources/helm.yaml +++ /dev/null @@ -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"