[bitnami/airflow] Add dag volume mounts to web deployment for configmap-based dags (#31620)

This commit is contained in:
Brian Carlson
2025-02-05 02:42:57 -05:00
committed by GitHub
parent 830393c917
commit e1e00f59dc
3 changed files with 19 additions and 3 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 22.4.7 (2025-01-22)
## 22.4.8 (2025-02-04)
* [bitnami/airflow] Release 22.4.7 ([#31476](https://github.com/bitnami/charts/pull/31476))
* [bitnami/airflow] Add dag volume mounts to web deployment for configmap-based dags ([#31620](https://github.com/bitnami/charts/pull/31620))
## <small>22.4.7 (2025-01-22)</small>
* [bitnami/airflow] Release 22.4.7 (#31476) ([b846dd0](https://github.com/bitnami/charts/commit/b846dd03bb8ef9303cc3c68b1c052b89258632c3)), closes [#31476](https://github.com/bitnami/charts/issues/31476)
## <small>22.4.6 (2025-01-22)</small>

View File

@@ -39,4 +39,4 @@ maintainers:
name: airflow
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/airflow
version: 22.4.7
version: 22.4.8

View File

@@ -73,6 +73,9 @@ spec:
initContainers:
{{- include "airflow.defaultInitContainers.prepareConfig" . | nindent 8 }}
{{- include "airflow.defaultInitContainers.prepareWebConfig" . | nindent 8 }}
{{- if .Values.dags.enabled }}
{{- include "airflow.defaultInitContainers.loadDAGs" . | nindent 8 }}
{{- end }}
{{- if .Values.plugins.enabled }}
{{- include "airflow.defaultInitContainers.loadPlugins" . | nindent 8 }}
{{- end }}
@@ -231,6 +234,9 @@ spec:
mountPath: /opt/bitnami/airflow/certs
readOnly: true
{{- end }}
{{- if .Values.dags.enabled }}
{{- include "airflow.dags.volumeMounts" . | nindent 12 }}
{{- end }}
{{- if .Values.plugins.enabled }}
{{- include "airflow.plugins.volumeMounts" . | nindent 12 }}
{{- end }}
@@ -240,6 +246,9 @@ spec:
{{- if .Values.web.extraVolumeMounts }}
{{- include "common.tplvalues.render" (dict "value" .Values.web.extraVolumeMounts "context" $) | nindent 12 }}
{{- end }}
{{- if and .Values.dags.enabled }}
{{- include "airflow.defaultSidecars.syncDAGs" . | nindent 8 }}
{{- end }}
{{- if .Values.plugins.enabled }}
{{- include "airflow.defaultSidecars.syncPlugins" . | nindent 8 }}
{{- end }}
@@ -259,6 +268,9 @@ spec:
- name: webserver-configuration
configMap:
name: {{ include "airflow.web.configMapName" . }}
{{- if .Values.dags.enabled }}
{{- include "airflow.dags.volumes" . | nindent 8 }}
{{- end }}
{{- if .Values.plugins.enabled }}
{{- include "airflow.plugins.volumes" . | nindent 8 }}
{{- end }}