2022-06-27 20:37:14 +00:00
apiVersion : v1
kind : ConfigMap
metadata :
2022-07-13 10:07:39 +00:00
name : stackspin-vikunja-values
2022-06-27 20:37:14 +00:00
namespace : stackspout
data :
# Defaults: https://github.com/k8s-at-home/charts/blob/master/charts/stable/vikunja/values.yaml
# Inherits: https://github.com/k8s-at-home/library-charts/blob/main/charts/stable/common/values.yaml
values.yaml : |
2022-07-13 10:07:39 +00:00
additionalContainers :
api :
2022-08-04 08:27:46 +00:00
image : vikunja/api:latest
2022-07-18 12:20:00 +00:00
imagePullPolicy : Always
2022-10-15 13:44:53 +00:00
volumeMounts : [ {"mountPath" : "/etc/vikunja/config.yml" , "name" : "vikunja-config" , "subPath" : "Vikunja.yaml" }, {"mountPath" : "/etc/vikunja/files" , "name" : "files" }]
2022-07-13 10:07:39 +00:00
frontend :
2022-08-04 08:27:46 +00:00
image : vikunja/frontend:latest
2022-07-18 12:20:00 +00:00
imagePullPolicy : Always
2022-06-27 20:37:14 +00:00
vikunja :
config : |-
auth :
openid :
# https://vikunja.io/docs/config-options/#openid
# Example: https://github.com/go-vikunja/api/blob/main/config.yml.sample#L289-L312
enabled : true
2022-06-30 08:12:09 +00:00
redirecturl : "https://do.${domain}/auth/openid/"
2022-06-27 20:37:14 +00:00
providers :
2022-06-30 07:54:59 +00:00
- name : Stackspin
2022-06-29 22:41:48 +00:00
authurl : "https://sso.${domain}/"
clientid : "${client_id}"
2022-06-27 20:37:14 +00:00
clientsecret : "${client_secret}"
local :
enabled : false
2022-07-18 20:38:00 +00:00
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}"
2022-07-18 21:13:42 +00:00
fromemail : "${outgoing_mail_from_address}"
2022-07-18 20:38:00 +00:00
forcessl : true
2022-08-02 13:50:53 +00:00
# TODO Configure PVC for file uploads
2022-07-11 17:09:56 +00:00
service :
frontendurl : "https://do.${domain}"
motd : "Please allow public profile discovery in settings!"
2022-07-12 21:21:16 +00:00
timezone : "CET"
2022-07-20 19:38:12 +00:00
JWTSecret : "${jwt}"
2022-07-11 21:16:55 +00:00
database :
type : postgres
2022-07-13 10:07:39 +00:00
host : vikunja-postgresql
2022-07-13 09:55:27 +00:00
password : "${postgresql_password}"
2022-07-13 19:54:42 +00:00
log :
2022-07-18 12:57:08 +00:00
path : "/app/vikunja"
2022-07-18 12:09:44 +00:00
http : file
2022-07-18 12:57:08 +00:00
database : stderr
2022-07-13 19:54:42 +00:00
databaselevel : debug
2022-10-15 12:01:05 +00:00
persistence :
files :
enabled : true
existingClaim : vikunja-files
2022-06-27 20:37:14 +00:00
ingress :
main :
enabled : true
primary : false
2022-06-28 07:31:00 +00:00
annotations :
2022-06-30 07:24:12 +00:00
kubernetes.io/tls-acme : "true"
2022-06-27 20:37:14 +00:00
hosts :
2022-06-29 22:41:48 +00:00
- host : "do.${domain}"
2022-07-18 12:09:44 +00:00
# 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
2022-07-18 11:40:14 +00:00
paths :
- path : /
pathType : Prefix
2022-06-27 20:37:14 +00:00
tls :
2022-07-13 10:07:39 +00:00
- secretName : vikunja-tls
2022-06-27 20:37:14 +00:00
hosts :
2022-06-29 22:41:48 +00:00
- "do.${domain}"
2022-07-13 10:07:39 +00:00
caddy :
2022-07-18 11:40:14 +00:00
# TODO is caddy needed at all?
2022-07-13 10:07:39 +00:00
noTls : true
2022-07-11 21:16:55 +00:00
postgresql :
enabled : true
2022-07-13 10:07:39 +00:00
postgresqlDatabase : vikunja
postgresqlUsername : vikunja
2022-07-13 09:55:27 +00:00
postgresqlPassword : "${postgresql_password}"
2022-07-12 17:19:02 +00:00
persistence :
enabled : true
2022-07-13 10:07:39 +00:00
existingClaim : vikunja-postgres