Skip to content
Snippets Groups Projects
Unverified Commit e86a6321 authored by Varac's avatar Varac
Browse files

Comment SSO password fetching since they are not used as of now

parent 5fad2f55
No related branches found
No related tags found
No related merge requests found
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment