mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-22 11:35:58 +10:00
Merge pull request #1773 from wsxiaoys/patch-3
[bitnami/airflow]Add airflow.webserverConfigMap to allow override FAB config.
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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` |
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user