From 658f07e7708a53179ce75291a5cdb26a0fa6ade7 Mon Sep 17 00:00:00 2001 From: Varac <varac@varac.net> Date: Wed, 28 Jul 2021 17:52:17 +0200 Subject: [PATCH] Dont use auth.existingSecret for mongo auth --- flux2/apps/wekan/release.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/flux2/apps/wekan/release.yaml b/flux2/apps/wekan/release.yaml index 09774f1f4..9f1f7dc6d 100644 --- a/flux2/apps/wekan/release.yaml +++ b/flux2/apps/wekan/release.yaml @@ -98,7 +98,14 @@ spec: auth: username: wekan database: wekan - existingSecret: oas-wekan-variables + # Unfortunatly we can't use existingSecret directly here because + # kustomize-controller doesn't allow hyphens/dashes in variable + # substitution names, while mongodb requires hyphens/dashes in the + # var names. See https://github.com/fluxcd/kustomize-controller/issues/395 + # for more details. + # existingSecret: oas-wekan-variables + rootPassword: ${mongodb_root_password} + password: ${mongodb_password} podAnnotations: # Let the backup system include rocketchat data stored in mongodb. backup.velero.io/backup-volumes: "datadir" -- GitLab