From e17499c3aa48aa5d97a61481b4f2bab18bd715ef Mon Sep 17 00:00:00 2001 From: Maarten de Waard <maarten@greenhost.nl> Date: Thu, 23 Dec 2021 16:56:56 +0100 Subject: [PATCH] add dashboard app and admin role --- helmchart/single-sign-on/templates/job-initialize-sso.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helmchart/single-sign-on/templates/job-initialize-sso.yaml b/helmchart/single-sign-on/templates/job-initialize-sso.yaml index bc00050..feae93b 100644 --- a/helmchart/single-sign-on/templates/job-initialize-sso.yaml +++ b/helmchart/single-sign-on/templates/job-initialize-sso.yaml @@ -35,5 +35,7 @@ spec: {{- if .Release.IsInstall }} flask user create $SETUP_USER; flask user setpassword $SETUP_USER $SETUP_PASSWORD; + flask app create dashboard Dashboard + flask user setrole $SETUP_USER dashboard admin {{- end }} -- GitLab