mirror of
https://github.com/mastodon/chart
synced 2025-05-17 20:43:21 +00:00
Simplification
This commit is contained in:
parent
4707ac0b20
commit
93e07b9fdd
|
@ -102,15 +102,11 @@ spec:
|
|||
- name: "REDIS_PASSWORD"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
{{- if .prepare }}
|
||||
{{- if and (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) (and (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" . }}
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
name: {{ template "mastodon.redis.secretName" . }}
|
||||
{{- end }}
|
||||
key: redis-password
|
||||
{{- if .preDeploy }}
|
||||
- name: "SKIP_POST_DEPLOYMENT_MIGRATIONS"
|
||||
|
|
Loading…
Reference in New Issue
Block a user