3
0
mirror of https://github.com/mastodon/chart synced 2025-05-17 20:43:21 +00:00

Additional simplification

This commit is contained in:
Tim Campbell 2025-04-08 15:49:47 +02:00
parent 93e07b9fdd
commit 52a013774b

View File

@ -102,7 +102,7 @@ spec:
- name: "REDIS_PASSWORD"
valueFrom:
secretKeyRef:
{{- if and (.prepare) (not .Values.redis.enabled) (and (not .Values.redis.auth.existingSecret) (not .Values.redis.existingSecret)) (.Values.redis.auth.password) }}
{{- if and (.prepare) (not .Values.redis.enabled) (not .Values.redis.auth.existingSecret) (not .Values.redis.existingSecret) (.Values.redis.auth.password) }}
name: {{ template "mastodon.redis.secretName" . }}-pre-install
{{- else }}
name: {{ template "mastodon.redis.secretName" . }}