From 9e5f686d6f046f06a44ee16040c564d4d42511b1 Mon Sep 17 00:00:00 2001 From: David Read Date: Wed, 10 Oct 2018 11:15:25 +0100 Subject: [PATCH] Add new options to call to init-user added in https://github.com/ministryofjustice/analytics-platform-helm-charts/pull/231 --- control_panel_api/helm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/control_panel_api/helm.py b/control_panel_api/helm.py index b5c325688..25691035c 100644 --- a/control_panel_api/helm.py +++ b/control_panel_api/helm.py @@ -55,6 +55,8 @@ def init_user(self, username, email, fullname): '--set', f'Username={username_slug}', '--set', f'Email={email}', '--set', f'Fullname={fullname}', + '--set', f'Env={settings.ENV}', + '--set', f'OidcDomain={settings.OIDC_DOMAIN}', ) def uninstall_init_user_chart(self, username):