3
0
mirror of https://github.com/mastodon/chart synced 2025-05-18 04:53:21 +00:00

Change redis Secret naming logic to match postgres's

This commit is contained in:
Jeremiah Lee 2023-07-20 12:15:50 +02:00
parent d5edbeb73e
commit 0ca9be23ce

View File

@ -132,8 +132,10 @@ Get the redis secret.
{{- printf "%s" (tpl .Values.redis.auth.existingSecret $) -}}
{{- else if .Values.redis.existingSecret }}
{{- printf "%s" (tpl .Values.redis.existingSecret $) -}}
{{- else -}}
{{- else if .Values.redis.enabled -}}
{{- printf "%s-redis" (tpl .Release.Name $) -}}
{{- else -}}
{{- printf "%s-redis" (include "mastodon.fullname" .) -}}
{{- end -}}
{{- end -}}