-
Notifications
You must be signed in to change notification settings - Fork 16.5k
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.4.0 (latest released)
Apache Airflow version
2.2.3 (latest released)
Kubernetes Version
1.21.x,1.18.x
Helm Chart configuration
KubernetesCeleryExecutor used
Docker Image customisations
No response
What happened
On each argocd airflow app update {{ .Release.Name }}-redis-password and {{ .Release.Name }}-broker-url is regenerated(since argocd do not honor "helm.sh/hook": "pre-install"). airflow pods restarted(as expected),get new redis connection and connection start failing with WRONG_PASSWORD, since redis is not restarted(old password used). Redis in chart 1.4 have no health checks.
What you expected to happen
Generally, I have two options:
- (Prefered) Add health check to Redis with login sequence. The password should be updated "on the fly"(read from the mounted secret and try to connect)
- (Workeraund) I implemented a workaround with the parent chart.
{{ .Release.Name }}-Redis-passwordand{{ .Release.Name }}-broker-urlsecrets generated from template whereimmutable: trueadded to the secret definition.
How to reproduce
No response
Anything else
No response
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:helm-chartAirflow Helm ChartAirflow Helm Chartkind:bugThis is a clearly a bugThis is a clearly a bug