Remove unnecessary params in workflow for cluster registration 12/14712/3
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 6 Nov 2024 16:20:42 +0000 (17:20 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 8 Nov 2024 14:51:45 +0000 (15:51 +0100)
Change-Id: I5d560efc69ee2d923eff59fa1abf0c46a41db8ad
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osm_lcm/odu_libs/cluster_mgmt.py

index 879158a..bfaad75 100644 (file)
@@ -301,8 +301,6 @@ async def register_cluster(self, op_id, op_params, content):
     # Additional params for the workflow
     cluster_kustomization_name = cluster_name
     osm_project_name = "osm_admin"  # TODO: get project name from content
-    vim_account_id = db_cluster["vim_account"]
-    providerconfig_name = f"{vim_account_id}-config"
 
     manifest = self.render_jinja_template(
         workflow_template,
@@ -312,7 +310,6 @@ async def register_cluster(self, op_id, op_params, content):
         git_sw_catalogs_url=f"{self._repo_base_url}/{self._repo_user}/sw-catalogs-osm.git",
         cluster_name=cluster_name,
         cluster_kustomization_name=cluster_kustomization_name,
-        providerconfig_name=providerconfig_name,
         public_key_mgmt=self._pubkey,
         public_key_new_cluster=public_key_new_cluster,
         secret_name_private_key_new_cluster=secret_name,