This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DATALAB-1342
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/DATALAB-1342 by this push:
     new 68291b6  [DATALAB-1342]: fixed keycloak arguments for azure and gcp
68291b6 is described below

commit 68291b6bc689f50dd4533d62660d8e3554da29c1
Author: leonidfrolov <[email protected]>
AuthorDate: Tue Aug 31 12:31:13 2021 +0300

    [DATALAB-1342]: fixed keycloak arguments for azure and gcp
---
 .../src/general/scripts/azure/ssn_configure.py                        | 4 ++--
 infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/infrastructure-provisioning/src/general/scripts/azure/ssn_configure.py 
b/infrastructure-provisioning/src/general/scripts/azure/ssn_configure.py
index e3ca4da..7c4e802 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/ssn_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/ssn_configure.py
@@ -528,8 +528,8 @@ if __name__ == "__main__":
                       "--keycloak_user {} --keycloak_user_password {} 
--instance_public_ip {} --keycloak_client_secret {} " \
         .format(ssn_conf['service_base_name'], 
os.environ['keycloak_auth_server_url'],
                 os.environ['keycloak_realm_name'], os.environ['keycloak_user'],
-                os.environ['keycloak_user_password'], 
datalab.meta_lib.get_instance_hostname(
-            ssn_conf['tag_name'], ssn_conf['instance_name']), 
os.environ['keycloak_client_secret'])
+                os.environ['keycloak_user_password'], 
ssn_conf['instance_host'],
+                os.environ['keycloak_client_secret'])
     try:
         subprocess.run("~/scripts/{}.py {}".format('configure_keycloak', 
keycloak_params), shell=True, check=True)
     except Exception as err:
diff --git 
a/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py 
b/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py
index b7c3d7a..0afb38b 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py
@@ -537,8 +537,8 @@ if __name__ == "__main__":
                       "--keycloak_user {} --keycloak_user_password {} 
--instance_public_ip {} --keycloak_client_secret {} " \
         .format(ssn_conf['service_base_name'], 
os.environ['keycloak_auth_server_url'],
                 os.environ['keycloak_realm_name'], os.environ['keycloak_user'],
-                os.environ['keycloak_user_password'], 
datalab.meta_lib.get_instance_hostname(
-            ssn_conf['tag_name'], ssn_conf['instance_name']), 
os.environ['keycloak_client_secret'])
+                os.environ['keycloak_user_password'], 
ssn_conf['instance_hostname'],
+                os.environ['keycloak_client_secret'])
     try:
         subprocess.run("~/scripts/{}.py {}".format('configure_keycloak', 
keycloak_params), shell=True, check=True)
     except Exception as err:

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to