diff --git a/charts/matrix-synapse/templates/worker-deployment.yaml b/charts/matrix-synapse/templates/worker-deployment.yaml index 2321b8d..3fc98bc 100644 --- a/charts/matrix-synapse/templates/worker-deployment.yaml +++ b/charts/matrix-synapse/templates/worker-deployment.yaml @@ -90,7 +90,7 @@ spec: secretKeyRef: {{- if $.Values.postgresql.enabled }} name: {{ $.Values.postgresql.existingSecret | default (include "matrix-synapse.postgresql.fullname" $) }} - key: postgresql-password + key: password {{- else }} name: {{ $.Values.externalPostgresql.existingSecret }} key: {{ $.Values.externalPostgresql.existingSecretPasswordKey }}