[stable/airflow] Use ingress.web.host value instead of hardcoded localhost:8080 (#18955)

For AIRFLOW__WEBSERVER__BASE_URL environment variable

Signed-off-by: Olivier Monnier <5500018+omonnier@users.noreply.github.com>
This commit is contained in:
omonnier
2019-11-18 05:23:41 -08:00
committed by Kubernetes Prow Robot
parent 7a2dad2d27
commit 68dd2c8496
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Airflow is a platform to programmatically author, schedule and monitor workflows
name: airflow
version: 4.4.0
version: 4.4.1
appVersion: 1.10.4
icon: https://airflow.apache.org/_images/pin_large.png
home: https://airflow.apache.org/
+1 -1
View File
@@ -31,7 +31,7 @@ data:
AIRFLOW__CORE__BASE_LOG_FOLDER: "{{ .Values.logs.path }}"
AIRFLOW__CORE__DAG_PROCESSOR_MANAGER_LOG_LOCATION: "{{ printf "%s/%s" .Values.logs.path "dag_processor_manager/dag_processor_manager.log" }}"
AIRFLOW__SCHEDULER__CHILD_PROCESS_LOG_DIRECTORY: "{{ printf "%s/%s" .Values.logs.path "scheduler" }}"
AIRFLOW__WEBSERVER__BASE_URL: "http://localhost:8080{{ .Values.ingress.web.path }}"
AIRFLOW__WEBSERVER__BASE_URL: "{{ .Values.ingress.web.host }}{{ .Values.ingress.web.path }}"
# Disabling XCom pickling for forward compatibility
AIRFLOW__CORE__ENABLE_XCOM_PICKLING: "false"
# For backwards compat with AF < 1.10, CELERY_CONCURRENCY got renamed to WORKER_CONCURRENCY