From ea930584b10e67fbd3c9d1a3fc7d68f3b637d6e0 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Wed, 6 Jul 2022 10:16:49 +0100 Subject: [PATCH] people: configure admin user --- basic/apps/people/suitecrm-values-configmap.yaml | 3 +++ basic/clusters/production/suitecrm-kustomization.yaml | 6 +++--- basic/install.sh | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/basic/apps/people/suitecrm-values-configmap.yaml b/basic/apps/people/suitecrm-values-configmap.yaml index b74fde8..1730d1c 100644 --- a/basic/apps/people/suitecrm-values-configmap.yaml +++ b/basic/apps/people/suitecrm-values-configmap.yaml @@ -13,6 +13,9 @@ data: hostname: "people.${domain}" tls: true certManager: true + suitecrmUsernme: "admin" + suitecrmEmail: "${admin_email}" + existingSecret: stackspin-suitecrm-variables # TODO Adjust OIDC SSO to service # - name: Stackspin # key: "${client_id}" diff --git a/basic/clusters/production/suitecrm-kustomization.yaml b/basic/clusters/production/suitecrm-kustomization.yaml index 2031f31..3542435 100644 --- a/basic/clusters/production/suitecrm-kustomization.yaml +++ b/basic/clusters/production/suitecrm-kustomization.yaml @@ -9,7 +9,7 @@ spec: wait: true timeout: 1h dependsOn: - - name: single-sign-on + #- name: single-sign-on sourceRef: kind: GitRepository name: stackspout @@ -17,8 +17,8 @@ spec: prune: true postBuild: substituteFrom: - #- kind: Secret - # name: stackspin-suitecrm-variables + - kind: Secret + name: stackspin-suitecrm-variables #- kind: Secret # name: stackspin-suitecrm-oauth-variables - kind: Secret diff --git a/basic/install.sh b/basic/install.sh index 232a183..e591c13 100755 --- a/basic/install.sh +++ b/basic/install.sh @@ -17,3 +17,4 @@ flux create kustomization stackspout \ python $STACKSPIN/install/generate_secrets.py vikunja python $STACKSPIN/install/generate_secrets.py gitea +python $STACKSPIN/install/generate_secrets.py suitecrm