do: configure vikunja mail sending

This commit is contained in:
xeruf 2022-07-18 21:38:00 +01:00
parent 5d84758480
commit d972e829d0
3 changed files with 12 additions and 6 deletions

View File

@ -15,6 +15,9 @@ spec:
namespace: flux-system namespace: flux-system
interval: 5m interval: 5m
valuesFrom: valuesFrom:
- kind: ConfigMap
name: stackspin-vikunja-values
optional: false
- kind: ConfigMap - kind: ConfigMap
name: stackspin-vikunja-test-values name: stackspin-vikunja-test-values
optional: false optional: false

View File

@ -27,18 +27,15 @@ data:
authurl: "https://sso.${domain}/" authurl: "https://sso.${domain}/"
clientid: "${client_id}" clientid: "${client_id}"
clientsecret: "${client_secret}" clientsecret: "${client_secret}"
local:
enabled: false
service: service:
frontendurl: "https://do-test.${domain}" frontendurl: "https://do-test.${domain}"
motd: "Please allow public profile discovery in settings!"
timezone: "CET"
database: database:
type: postgres type: postgres
host: vikunja-test-postgresql host: vikunja-test-postgresql
password: "${postgresql_password}" password: "${postgresql_password}"
log: log:
path: "/app/vikunja" path: "/app/vikunja"
http: stdout
database: stderr database: stderr
databaselevel: debug databaselevel: debug
ingress: ingress:
@ -49,7 +46,6 @@ data:
kubernetes.io/tls-acme: "true" kubernetes.io/tls-acme: "true"
hosts: hosts:
- host: "do-test.${domain}" - 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: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
@ -58,7 +54,6 @@ data:
hosts: hosts:
- "do-test.${domain}" - "do-test.${domain}"
caddy: caddy:
# TODO is caddy needed at all?
noTls: true noTls: true
postgresql: postgresql:
enabled: true enabled: true

View File

@ -29,6 +29,14 @@ data:
clientsecret: "${client_secret}" clientsecret: "${client_secret}"
local: local:
enabled: false 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: service:
frontendurl: "https://do.${domain}" frontendurl: "https://do.${domain}"
motd: "Please allow public profile discovery in settings!" motd: "Please allow public profile discovery in settings!"