Airflow Redis password key value is not used
Name and Version
bitnami/airflow 12.0.1
What steps will reproduce the bug?
Set the value of externalRedis.existingSecretPasswordKey to anything other than redis-password
Are you using any custom parameters or values?
externalRedis.existingSecretPasswordKey=password
What is the expected behavior?
Airflow will use the specified redis password secret key
What do you see instead?
Deployment fails because it is looking for hardcoded value redis-password
Additional information
In _helpers.tpl the defined redis key is not actually used. Current:
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: {{ include "airflow.redis.secretName" . }}
key: redis-password
Should be
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: {{ include "airflow.redis.secretName" . }}
key: {{ include "airflow.redis.existingsecret.key" . }}
Hi,
Thank you so much for spotting the issue! Would you like to submit a PR fixing it? We would review it and provide feedback.
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.