From fc8f8e793266e886aec2f0d7428f80d572bb4dd8 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Wed, 20 Jul 2022 20:38:12 +0100 Subject: [PATCH] vikunja: add jwt secret --- basic/apps/do/vikunja-values-configmap.yaml | 1 + templates/stackspin-kimai-variables.yaml.jinja | 2 +- templates/stackspin-vikunja-variables.yaml.jinja | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/basic/apps/do/vikunja-values-configmap.yaml b/basic/apps/do/vikunja-values-configmap.yaml index 7438624..d948dbf 100644 --- a/basic/apps/do/vikunja-values-configmap.yaml +++ b/basic/apps/do/vikunja-values-configmap.yaml @@ -41,6 +41,7 @@ data: frontendurl: "https://do.${domain}" motd: "Please allow public profile discovery in settings!" timezone: "CET" + JWTSecret: "${jwt}" database: type: postgres host: vikunja-postgresql diff --git a/templates/stackspin-kimai-variables.yaml.jinja b/templates/stackspin-kimai-variables.yaml.jinja index 86fd0fd..7558a55 100644 --- a/templates/stackspin-kimai-variables.yaml.jinja +++ b/templates/stackspin-kimai-variables.yaml.jinja @@ -1,7 +1,7 @@ apiVersion: v1 kind: Secret metadata: - name: stackspin-suitecrm-variables + name: stackspin-kimai-variables data: password: "{{ 32 | generate_password | b64encode }}" secret: "{{ 32 | generate_password | b64encode }}" diff --git a/templates/stackspin-vikunja-variables.yaml.jinja b/templates/stackspin-vikunja-variables.yaml.jinja index 10e0434..cb1fa4f 100644 --- a/templates/stackspin-vikunja-variables.yaml.jinja +++ b/templates/stackspin-vikunja-variables.yaml.jinja @@ -3,4 +3,5 @@ kind: Secret metadata: name: stackspin-vikunja-variables data: + jwt: "{{ 32 | generate_password | b64encode }}" postgresql_password: "{{ 32 | generate_password | b64encode }}"