Remove unecessary variables
This commit is contained in:
parent
99bd119990
commit
3facf3c73c
1 changed files with 1 additions and 3 deletions
|
@ -81,15 +81,13 @@ spec:
|
||||||
-c /synapse/config/homeserver.yaml \
|
-c /synapse/config/homeserver.yaml \
|
||||||
-c /synapse/config/conf.d/
|
-c /synapse/config/conf.d/
|
||||||
env:
|
env:
|
||||||
{{- $postgresPass := include "matrix-synapse.postgresql.password" . }}
|
{{- if .Values.postgresql.enabled }}
|
||||||
{{- if and .Values.postgresql.enabled }}
|
|
||||||
- name: POSTGRES_PASSWORD
|
- name: POSTGRES_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ .Values.postgresql.existingSecret | default (include "matrix-synapse.postgresql.fullname" .) }}
|
name: {{ .Values.postgresql.existingSecret | default (include "matrix-synapse.postgresql.fullname" .) }}
|
||||||
key: postgresql-password
|
key: postgresql-password
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $redisPass := include "matrix-synapse.redis.password" . }}
|
|
||||||
{{- if and .Values.redis.enabled (default .Values.redis.usePassword true) }}
|
{{- if and .Values.redis.enabled (default .Values.redis.usePassword true) }}
|
||||||
- name: REDIS_PASSWORD
|
- name: REDIS_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
Loading…
Reference in a new issue