diff --git a/basic/apps/do/vikunja-values-configmap.yaml b/basic/apps/do/vikunja-values-configmap.yaml index f704f9f..ca4ed10 100644 --- a/basic/apps/do/vikunja-values-configmap.yaml +++ b/basic/apps/do/vikunja-values-configmap.yaml @@ -27,6 +27,10 @@ data: frontendurl: "https://do.${domain}" motd: "Please allow public profile discovery in settings!" timezone: "DE" + database: + host: db + type: postgres + password: "${postgres_password}" ingress: main: enabled: true @@ -42,9 +46,10 @@ data: - secretName: vikunja-tls hosts: - "do.${domain}" - - "tmpdo.${domain}" additionalContainers: api: image: vikunja/api:0.18.1 frontend: image: vikunja/frontend:0.18.2 + postgresql: + enabled: true diff --git a/templates/stackspin-vikunja-variables.yaml.jinja b/templates/stackspin-vikunja-variables.yaml.jinja new file mode 100644 index 0000000..f0d182e --- /dev/null +++ b/templates/stackspin-vikunja-variables.yaml.jinja @@ -0,0 +1,6 @@ +apiVersion: v1 +kind: Secret +metadata: + name: stackspin-vikunja-variables +data: + postgres_password: "{{ 32 | generate_password | b64encode }}"