From be4fd6c25b0640327a9f54c0b6dfa1ee6dd4a2df Mon Sep 17 00:00:00 2001 From: Mathew Wicks Date: Tue, 18 Feb 2020 18:25:28 +1100 Subject: [PATCH] [stable/airflow] fix postgres database config name (#20828) The docs suggest that `postgresql.postgresDatabase` was renamed to `postgresql.postgresqlDatabase`, this hotfix makes that true. Signed-off-by: Mathew Wicks --- stable/airflow/Chart.yaml | 2 +- stable/airflow/templates/configmap-env.yaml | 2 +- stable/airflow/values.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stable/airflow/Chart.yaml b/stable/airflow/Chart.yaml index d35dd4e5b6..026cac79e7 100644 --- a/stable/airflow/Chart.yaml +++ b/stable/airflow/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Airflow is a platform to programmatically author, schedule and monitor workflows name: airflow -version: 6.0.0 +version: 6.0.1 appVersion: 1.10.4 icon: https://airflow.apache.org/_images/pin_large.png home: https://airflow.apache.org/ diff --git a/stable/airflow/templates/configmap-env.yaml b/stable/airflow/templates/configmap-env.yaml index e37d16eb93..0c83910a7f 100644 --- a/stable/airflow/templates/configmap-env.yaml +++ b/stable/airflow/templates/configmap-env.yaml @@ -13,7 +13,7 @@ data: ## Postgres DB configuration POSTGRES_HOST: "{{ template "airflow.postgresql.fullname" . }}" POSTGRES_PORT: "{{ .Values.postgresql.service.port }}" - POSTGRES_DB: "{{ .Values.postgresql.postgresDatabase }}" + POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}" {{- if eq .Values.airflow.executor "Celery" }} ## Redis DB configuration REDIS_HOST: "{{ template "airflow.redis.host" . }}" diff --git a/stable/airflow/values.yaml b/stable/airflow/values.yaml index baa49b91a3..cbed5350e5 100644 --- a/stable/airflow/values.yaml +++ b/stable/airflow/values.yaml @@ -604,7 +604,7 @@ postgresql: ## ## If you are bringing your own PostgreSQL, you should set postgresHost and - ## also probably service.port, postgresUser, postgresPassword, and postgresDatabase + ## also probably service.port, postgresqlUsername, postgresqlPassword, and postgresqlDatabase ## postgresHost: ## ## PostgreSQL port