[bitnami/airflow] feat: add support to extend webserver configuration (#32254)

This commit is contained in:
Juan Ariza Toledano
2025-03-04 15:01:47 +01:00
committed by GitHub
parent 3477fc1449
commit c9ff19f64f
7 changed files with 39 additions and 5 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 22.6.1 (2025-03-03)
## 22.7.0 (2025-03-04)
* [bitnami/airflow] feat: timeouts for probes ([#32235](https://github.com/bitnami/charts/pull/32235))
* [bitnami/airflow] feat: add support to extend webserver configuration ([#32254](https://github.com/bitnami/charts/pull/32254))
## <small>22.6.1 (2025-03-03)</small>
* [bitnami/airflow] feat: timeouts for probes (#32235) ([67cbd50](https://github.com/bitnami/charts/commit/67cbd50c2251ab320a15e226e6862fdeadc5677d)), closes [#32235](https://github.com/bitnami/charts/issues/32235)
## 22.6.0 (2025-02-27)

View File

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

View File

@@ -508,6 +508,7 @@ The Bitnami Airflow chart relies on the PostgreSQL chart persistence. This means
| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- |
| `web.baseUrl` | URL used to access to Airflow webserver | `""` |
| `web.configuration` | Specify content for webserver_config.py (auto-generated based on other env. vars otherwise) | `""` |
| `web.extraConfiguration` | Specify extra content to be appended to default webserver_config.py (ignored if `web.configuration` or `web.existingConfigmap` are set) | `""` |
| `web.existingConfigmap` | Name of an existing config map containing the Airflow webserver config file | `""` |
| `web.tls.enabled` | Enable TLS configuration for Airflow webserver | `false` |
| `web.tls.autoGenerated.enabled` | Enable automatic generation of TLS certificates | `true` |

View File

@@ -17,7 +17,7 @@ metadata:
data:
webserver_config.py: |-
{{- if .Values.web.configuration }}
{{- include "common.tplvalues.render" (dict "value" .Values.web.configuration "context" .) | indent 4 }}
{{ include "common.tplvalues.render" (dict "value" .Values.web.configuration "context" .) | nindent 4 }}
{{- else }}
"""Configuration for the Airflow webserver"""
@@ -52,6 +52,8 @@ data:
# Flask-WTF flag for CSRF
WTF_CSRF_ENABLED = True
WTF_CSRF_TIME_LIMIT = None
{{- if .Values.web.extraConfiguration }}
{{ include "common.tplvalues.render" (dict "value" .Values.web.extraConfiguration "context" .) | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -495,6 +495,9 @@ web:
## @param web.configuration Specify content for webserver_config.py (auto-generated based on other env. vars otherwise)
##
configuration: ""
## @param web.extraConfiguration Specify extra content to be appended to default webserver_config.py (ignored if `web.configuration` or `web.existingConfigmap` are set)
##
extraConfiguration: ""
## @param web.existingConfigmap Name of an existing config map containing the Airflow webserver config file
##
existingConfigmap: ""