From 3facf3c73cb27a3bcf5233bbcf8c399400a50c20 Mon Sep 17 00:00:00 2001 From: fkf9 Date: Thu, 16 Sep 2021 14:43:30 +0200 Subject: [PATCH] Remove unecessary variables --- charts/matrix-synapse/templates/deployment.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/charts/matrix-synapse/templates/deployment.yaml b/charts/matrix-synapse/templates/deployment.yaml index 14f2f2a..ffbce2e 100644 --- a/charts/matrix-synapse/templates/deployment.yaml +++ b/charts/matrix-synapse/templates/deployment.yaml @@ -81,15 +81,13 @@ spec: -c /synapse/config/homeserver.yaml \ -c /synapse/config/conf.d/ env: -{{- $postgresPass := include "matrix-synapse.postgresql.password" . }} - {{- if and .Values.postgresql.enabled }} + {{- if .Values.postgresql.enabled }} - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: name: {{ .Values.postgresql.existingSecret | default (include "matrix-synapse.postgresql.fullname" .) }} key: postgresql-password {{- end }} -{{- $redisPass := include "matrix-synapse.redis.password" . }} {{- if and .Values.redis.enabled (default .Values.redis.usePassword true) }} - name: REDIS_PASSWORD valueFrom: