-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
area:helm-chartAirflow Helm ChartAirflow Helm Chartkind:bugThis is a clearly a bugThis is a clearly a bug
Description
Official Helm Chart version
1.18.0 (latest released)
Apache Airflow version
3.1.6
Kubernetes Version
1.35
Helm Chart configuration
No response
Docker Image customizations
not relevant
What happened
apiServer extraInitContainers are documented as templated:
Lines 1715 to 1716 in c93cb32
| # Add additional init containers into API server (templated). | |
| extraInitContainers: [] |
but the code itself does not use templating:
| {{- toYaml .Values.apiServer.extraInitContainers | nindent 8 }} |
What you think should happen instead
tpl should be used as in other workloads
How to reproduce
values.yaml
airflow:
apiServer:
extraInitContainers:
- name: custom-init-container
image: alpine:latest
command:
- sh
- -c
- echo {{ "foobar" }}❯ helm template airflow-init-test . | grep custom-init-container -B5
- command:
- sh
- -c
- echo {{ "foobar" }}
image: alpine:latest
name: custom-init-container
Anything else
it works fine if used in triggerer/...
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
area:helm-chartAirflow Helm ChartAirflow Helm Chartkind:bugThis is a clearly a bugThis is a clearly a bug