Skip to content

ArgoCD deployment: build in redis is not restarted on password change #20999

@Udbv

Description

@Udbv

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:

  1. (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)
  2. (Workeraund) I implemented a workaround with the parent chart. {{ .Release.Name }}-Redis-password and {{ .Release.Name }}-broker-url secrets generated from template where immutable: true added 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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions