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 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"}]
frontend:
2022-08-04 08:27:46 +00:00
image: vikunja/frontend:latest
2022-07-18 12:20:00 +00: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 08:12:09 +00:00
redirecturl: "https://do.${domain}/auth/openid/"
providers:
- name: Stackspin
2022-06-29 22:41:48 +00:00
authurl: "https://sso.${domain}/"
clientid: "${client_id}"
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
# 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
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
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"
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
paths:
- path: /
pathType: Prefix
tls:
- secretName: vikunja-tls
hosts:
2022-06-29 22:41:48 +00:00
- "do.${domain}"
caddy:
# TODO is caddy needed at all?
noTls: true
2022-07-11 21:16:55 +00:00
postgresql:
enabled: true
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
existingClaim: vikunja-postgres