correctly reference Values
This commit is contained in:
parent
33a84425eb
commit
d642502019
1 changed files with 2 additions and 2 deletions
|
@ -87,14 +87,14 @@ spec:
|
|||
- name: POSTGRES_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.postgresql.existingSecret | default (include "matrix-synapse.postgresql.fullname" $) }}
|
||||
name: {{ $.Values.postgresql.existingSecret | default (include "matrix-synapse.postgresql.fullname" $) }}
|
||||
key: postgresql-password
|
||||
{{- end }}
|
||||
{{- if and $.Values.redis.enabled (default $.Values.redis.usePassword true) }}
|
||||
- name: REDIS_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.redis.existingSecret | default (include "matrix-synapse.redis.fullname" $) }}
|
||||
name: {{ $.Values.redis.existingSecret | default (include "matrix-synapse.redis.fullname" $) }}
|
||||
key: redis-password
|
||||
{{- end }}
|
||||
{{- with $config.extraEnv | default $default.extraEnv }}
|
||||
|
|
Loading…
Reference in a new issue