mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/airflow] Support extra customizations at setup-db job (#30624)
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 22.3.0 (2024-11-26)
|
||||
|
||||
* [bitnami/airflow] Support extra customizations at setup-db job ([#30624](https://github.com/bitnami/charts/pull/30624))
|
||||
|
||||
## 22.2.0 (2024-11-19)
|
||||
|
||||
* [bitnami/airflow] Add support for extending default configuration ([#30525](https://github.com/bitnami/charts/pull/30525))
|
||||
* [bitnami/airflow] Add support for extending default configuration (#30525) ([e84395d](https://github.com/bitnami/charts/commit/e84395d6c829a0fe56ca7242bdaa90afb8e0e352)), closes [#30525](https://github.com/bitnami/charts/issues/30525)
|
||||
|
||||
## 22.1.0 (2024-11-18)
|
||||
|
||||
|
||||
@@ -39,4 +39,4 @@ maintainers:
|
||||
name: airflow
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/airflow
|
||||
version: 22.2.0
|
||||
version: 22.3.0
|
||||
|
||||
@@ -1039,6 +1039,9 @@ The Bitnami Airflow chart relies on the PostgreSQL chart persistence. This means
|
||||
| `setupDBJob.annotations` | Add annotations to the Airflow "setup-db" job | `{}` |
|
||||
| `setupDBJob.podLabels` | Additional pod labels for Airflow "setup-db" job | `{}` |
|
||||
| `setupDBJob.podAnnotations` | Additional pod annotations for Airflow "setup-db" job | `{}` |
|
||||
| `setupDBJob.extraVolumes` | Optionally specify extra list of additional volumes for Airflow "setup-db" job's pods | `[]` |
|
||||
| `setupDBJob.extraVolumeMounts` | Optionally specify extra list of additional volumeMounts for the Airflow "setup-db" job's containers | `[]` |
|
||||
| `setupDBJob.initContainers` | Add additional init containers to the Airflow "setup-db" job's pods | `[]` |
|
||||
|
||||
### Airflow ldap parameters
|
||||
|
||||
|
||||
@@ -35,6 +35,9 @@ spec:
|
||||
{{- end }}
|
||||
initContainers:
|
||||
{{- include "airflow.defaultInitContainers.prepareConfig" . | nindent 8 }}
|
||||
{{- if .Values.setupDBJob.initContainers }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.setupDBJob.initContainers "context" $) | trim | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: setup-db
|
||||
image: {{ include "airflow.image" . }}
|
||||
@@ -116,6 +119,9 @@ spec:
|
||||
- name: empty-dir
|
||||
mountPath: /opt/bitnami/airflow/config/airflow_local_settings.py
|
||||
subPath: app-conf-dir/airflow_local_settings.py
|
||||
{{- if .Values.setupDBJob.extraVolumeMounts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.setupDBJob.extraVolumeMounts "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: empty-dir
|
||||
emptyDir: {}
|
||||
@@ -123,4 +129,7 @@ spec:
|
||||
configMap:
|
||||
name: {{ include "airflow.configMapName" . }}
|
||||
optional: true
|
||||
{{- if .Values.setupDBJob.extraVolumes }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.setupDBJob.extraVolumes "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -2458,6 +2458,23 @@ setupDBJob:
|
||||
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
||||
##
|
||||
podAnnotations: {}
|
||||
## @param setupDBJob.extraVolumes Optionally specify extra list of additional volumes for Airflow "setup-db" job's pods
|
||||
##
|
||||
extraVolumes: []
|
||||
## @param setupDBJob.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Airflow "setup-db" job's containers
|
||||
##
|
||||
extraVolumeMounts: []
|
||||
## @param setupDBJob.initContainers Add additional init containers to the Airflow "setup-db" job's pods
|
||||
## Example:
|
||||
## initContainers:
|
||||
## - name: your-image-name
|
||||
## image: your-image
|
||||
## imagePullPolicy: Always
|
||||
## ports:
|
||||
## - name: portname
|
||||
## containerPort: 1234
|
||||
##
|
||||
initContainers: []
|
||||
|
||||
## @section Airflow ldap parameters
|
||||
|
||||
|
||||
Reference in New Issue
Block a user