From 3620f71b05acba78daba9390c1bb99b9d01dd9bb Mon Sep 17 00:00:00 2001 From: "Alexander \"Ace\" Olofsson" Date: Tue, 20 Dec 2022 18:56:09 +0100 Subject: [PATCH] matrix-synapse: Fix remaining old pg values --- charts/matrix-synapse/templates/deployment.yaml | 2 +- charts/matrix-synapse/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/matrix-synapse/templates/deployment.yaml b/charts/matrix-synapse/templates/deployment.yaml index 39ab1a9..bc340e1 100644 --- a/charts/matrix-synapse/templates/deployment.yaml +++ b/charts/matrix-synapse/templates/deployment.yaml @@ -1,5 +1,5 @@ {{- $needsVolumePermissions := and .Values.volumePermissions.enabled (or .Values.persistence.enabled .Values.persistence.existingClaim) }} -{{- if (and .Values.postgresql.enabled (and (not .Values.postgresql.postgresqlPassword) (not .Values.postgresql.existingSecret))) -}} +{{- if (and .Values.postgresql.enabled (and (not .Values.postgresql.auth.password) (not .Values.postgresql.existingSecret))) -}} {{- fail "You must specify a static postgres password or existing secret if using the included postgres chart" -}} {{- end -}} {{- if (and .Values.redis.enabled (and .Values.redis.usePassword (and (not .Values.redis.auth.password) (not .Values.redis.auth.existingSecret)))) -}} diff --git a/charts/matrix-synapse/values.yaml b/charts/matrix-synapse/values.yaml index c182280..741fdbc 100644 --- a/charts/matrix-synapse/values.yaml +++ b/charts/matrix-synapse/values.yaml @@ -677,7 +677,7 @@ wellknown: postgresql: enabled: true - auth: + auth: {} # XXX Change me! # password: synapse