stackspout/basic/apps/do/vikunja-values-configmap.yaml

87 lines
2.9 KiB
YAML
Raw Normal View History

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