From d972e829d07158c6ff1a6755ee0a3c445922c04e Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Mon, 18 Jul 2022 21:38:00 +0100 Subject: [PATCH] do: configure vikunja mail sending --- basic/apps/do-test/vikunja-release.yaml | 3 +++ basic/apps/do-test/vikunja-values-configmap.yaml | 7 +------ basic/apps/do/vikunja-values-configmap.yaml | 8 ++++++++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/basic/apps/do-test/vikunja-release.yaml b/basic/apps/do-test/vikunja-release.yaml index 5c10675..9d7a62c 100644 --- a/basic/apps/do-test/vikunja-release.yaml +++ b/basic/apps/do-test/vikunja-release.yaml @@ -15,6 +15,9 @@ spec: namespace: flux-system interval: 5m valuesFrom: + - kind: ConfigMap + name: stackspin-vikunja-values + optional: false - kind: ConfigMap name: stackspin-vikunja-test-values optional: false diff --git a/basic/apps/do-test/vikunja-values-configmap.yaml b/basic/apps/do-test/vikunja-values-configmap.yaml index dbc133b..422c86b 100644 --- a/basic/apps/do-test/vikunja-values-configmap.yaml +++ b/basic/apps/do-test/vikunja-values-configmap.yaml @@ -27,18 +27,15 @@ data: authurl: "https://sso.${domain}/" clientid: "${client_id}" clientsecret: "${client_secret}" - local: - enabled: false service: frontendurl: "https://do-test.${domain}" - motd: "Please allow public profile discovery in settings!" - timezone: "CET" database: type: postgres host: vikunja-test-postgresql password: "${postgresql_password}" log: path: "/app/vikunja" + http: stdout database: stderr databaselevel: debug ingress: @@ -49,7 +46,6 @@ data: kubernetes.io/tls-acme: "true" hosts: - host: "do-test.${domain}" - # TODO Helm template rather than repetition in every file? See https://github.com/k8s-at-home/library-charts/blob/4d09a8ddbdf11c278101b74b36720b5f7c17cd71/charts/stable/common/values.yaml#L342 paths: - path: / pathType: Prefix @@ -58,7 +54,6 @@ data: hosts: - "do-test.${domain}" caddy: - # TODO is caddy needed at all? noTls: true postgresql: enabled: true diff --git a/basic/apps/do/vikunja-values-configmap.yaml b/basic/apps/do/vikunja-values-configmap.yaml index d791def..933130c 100644 --- a/basic/apps/do/vikunja-values-configmap.yaml +++ b/basic/apps/do/vikunja-values-configmap.yaml @@ -29,6 +29,14 @@ data: clientsecret: "${client_secret}" local: enabled: false + mailer: + enabled: "${outgoing_mail_enabled}" + host: "${outgoing_mail_smtp_host}" + port: "${outgoing_mail_smtp_port}" + username: "${outgoing_mail_smtp_user}" + password: "${outgoing_mail_smtp_password}" + fromemail: "${outgoing_mail_smtp_from_address}" + forcessl: true service: frontendurl: "https://do.${domain}" motd: "Please allow public profile discovery in settings!"