From e6d4888fd7c06aa34146d4355e31e5ab0908b1b4 Mon Sep 17 00:00:00 2001 From: Justin Guidry <justinguidry@seed-innovations.com> Date: Wed, 18 Dec 2024 13:49:27 +0000 Subject: [PATCH] Update Default Mattermost Values --- chart/templates/mattermost/values.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/chart/templates/mattermost/values.yaml b/chart/templates/mattermost/values.yaml index ee7c488af5..22de013917 100644 --- a/chart/templates/mattermost/values.yaml +++ b/chart/templates/mattermost/values.yaml @@ -164,4 +164,12 @@ mattermostEnvs: # required for Keycloak >= 20.X to work with gitlab auth pointed to Keycloak MM_GITLABSETTINGS_SCOPE: openid +existingSecretEnvs: + # Forces mattermost to use the DB_CONNECTION_STRING in the secret and respect changes in that value + - name: MM_SQLSETTINGS_DATASOURCE + valueFrom: + secretKeyRef: + key: DB_CONNECTION_STRING + name: "mattermost-dbcreds" + {{- end -}} -- GitLab