From e86a63215cd2c9c7dcfad53353080a0d4bacc45b Mon Sep 17 00:00:00 2001 From: Varac <varac@varac.net> Date: Tue, 29 Jun 2021 17:55:23 +0200 Subject: [PATCH] Comment SSO password fetching since they are not used as of now --- openappstack/__main__.py | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/openappstack/__main__.py b/openappstack/__main__.py index 42ef32efa..ac71a35df 100755 --- a/openappstack/__main__.py +++ b/openappstack/__main__.py @@ -405,18 +405,24 @@ def test(clus, args): command.append('apps.js') # Set env vars - sso_username = clus.get_password_from_kubernetes( - 'oas-single-sign-on-variables', - 'userbackend_admin_username', - 'flux-system' - ) - sso_password = clus.get_password_from_kubernetes( - 'oas-single-sign-on-variables', - 'userbackend_admin_password', - 'flux-system' - ) - os.environ["SSO_USERNAME"] = sso_username - os.environ["SSO_PASSWORD"] = sso_password + + # SSO tests currently only work with valid letsencrypt production certs. + # Therefor we disable SSO tests for now, until + # https://open.greenhost.net/openappstack/single-sign-on/-/issues/62 + # is fixed. + # + # sso_username = clus.get_password_from_kubernetes( + # 'oas-single-sign-on-variables', + # 'userbackend_admin_username', + # 'flux-system' + # ) + # sso_password = clus.get_password_from_kubernetes( + # 'oas-single-sign-on-variables', + # 'userbackend_admin_password', + # 'flux-system' + # ) + # os.environ["SSO_USERNAME"] = sso_username + # os.environ["SSO_PASSWORD"] = sso_password if "nextcloud" in args.apps or args.apps=='all': nextcloud_password = clus.get_password_from_kubernetes( -- GitLab