diff --git a/bitnami/airflow/Chart.yaml b/bitnami/airflow/Chart.yaml index 48d78b235..e2c5ef9c3 100644 --- a/bitnami/airflow/Chart.yaml +++ b/bitnami/airflow/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: airflow -version: 4.0.18 +version: 4.0.19 appVersion: 1.10.6 description: Apache Airflow is a platform to programmatically author, schedule and monitor workflows. keywords: diff --git a/bitnami/airflow/README.md b/bitnami/airflow/README.md index c29deeebb..859e302c9 100644 --- a/bitnami/airflow/README.md +++ b/bitnami/airflow/README.md @@ -94,6 +94,7 @@ The following tables lists the configurable parameters of the Kafka chart and th | `airflow.auth.fernetKey` | Fernet key to secure connections | `nil` | | `airflow.auth.existingSecret` | Name of an existing secret containing airflow password and fernet key | `nil` | | `airflow.extraEnvVars` | Extra environment variables to add to airflow web, worker and scheduler pods | `nil` | +| `airflow.webserverConfigMap` | Config map name for ~/airflow/webserver_config.py | `nil` | | `securityContext.enabled` | Enable security context | `true` | | `securityContext.fsGroup` | Group ID for the container | `1001` | | `securityContext.runAsUser` | User ID for the container | `1001` | diff --git a/bitnami/airflow/templates/deployment-web.yaml b/bitnami/airflow/templates/deployment-web.yaml index 4e56f2207..fe9416322 100644 --- a/bitnami/airflow/templates/deployment-web.yaml +++ b/bitnami/airflow/templates/deployment-web.yaml @@ -216,6 +216,11 @@ spec: mountPath: /opt/bitnami/airflow/airflow.cfg subPath: airflow.cfg {{- end }} + {{- if .Values.airflow.webserverConfigMap }} + - name: custom-webserver-configuration-file + mountPath: /opt/bitnami/airflow/webserver_config.py + subPath: webserver_config.py + {{- end }} resources: {{- toYaml .Values.resources | nindent 12 }} volumes: {{- if .Files.Glob "files/dags/*.py" }} @@ -237,3 +242,8 @@ spec: configMap: name: {{ .Values.airflow.configurationConfigMap }} {{- end }} + {{- if .Values.airflow.webserverConfigMap }} + - name: custom-webserver-configuration-file + configMap: + name: {{ .Values.airflow.webserverConfigMap }} + {{- end }}