From f4fe3a1ad0e2e3dfb14bb5d5b35648089d8b1a4f Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Fri, 1 Jul 2022 22:07:49 +0100 Subject: [PATCH] overrides: enable variable substitution --- basic/clusters/production/overrides-kustomization.yaml | 4 ++++ basic/overrides/stackspin-nextcloud-override.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/basic/clusters/production/overrides-kustomization.yaml b/basic/clusters/production/overrides-kustomization.yaml index f73cb90..0e2a15d 100644 --- a/basic/clusters/production/overrides-kustomization.yaml +++ b/basic/clusters/production/overrides-kustomization.yaml @@ -11,3 +11,7 @@ spec: path: ./basic/overrides prune: true validation: client + postBuild: + substituteFrom: + - kind: Secret + name: stackspin-cluster-variables diff --git a/basic/overrides/stackspin-nextcloud-override.yaml b/basic/overrides/stackspin-nextcloud-override.yaml index b0714a7..22a8d6f 100644 --- a/basic/overrides/stackspin-nextcloud-override.yaml +++ b/basic/overrides/stackspin-nextcloud-override.yaml @@ -21,7 +21,7 @@ data: 'allow_user_to_change_display_name' => false, 'default_phone_region' => 'DE', 'default_locale' => 'en-gb', - 'lost_password_link' => 'https://sso.ftt.gmbh/login/recovery', + 'lost_password_link' => 'https://sso.${domain}/login/recovery', ); apps: # Basics