[bitnami/airflow] Startup fails when nameOverride
or fullnameOverride
is specified for internal Redis
#30000
Labels
nameOverride
or fullnameOverride
is specified for internal Redis
#30000
Name and Version
bitnami/airflow at least since 18.x.x
What architecture are you using?
None
What steps will reproduce the bug?
redis.nameOverride
orredis.fullnameOverride
to any custom non empty valueAre you using any custom parameters or values?
Or:
--set=redis.enabled=true --set=redis.nameOverride=airflow-redis
What is the expected behavior?
The
airflow.redis.fullname
helper should search correctly inredis
subchart: thechartName
should beredis
instead ofredis-master
.What do you see instead?
By having
redis-master
inchartName
, it results to have wrongREDIS_HOST
environment variable for all statefulsets when using internal Redis: https://github.com/bitnami/charts/blob/main/bitnami/airflow/templates/_helpers.tpl#L363-L364Currently, we have
REDIS_HOST
rendered as{{ .Release.Name }}-airflow-redis
instead of{{ .Release.Name }}-airflow-redis-master
.Note:
{{ .Release.Name }}
is correctly templated.Additional information
Line impacted: https://github.com/bitnami/charts/blob/main/bitnami/airflow/templates/_helpers.tpl#L129
To me, it should use a
printf
to add-master
at the end.Examples:
The text was updated successfully, but these errors were encountered: