From: garciadeblas Date: Wed, 6 Nov 2024 16:20:42 +0000 (+0100) Subject: Remove unnecessary params in workflow for cluster registration X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=bca58bfe29a4a671c9fa021f10ec1f8083961e01;p=osm%2FLCM.git Remove unnecessary params in workflow for cluster registration Change-Id: I5d560efc69ee2d923eff59fa1abf0c46a41db8ad Signed-off-by: garciadeblas --- diff --git a/osm_lcm/odu_libs/cluster_mgmt.py b/osm_lcm/odu_libs/cluster_mgmt.py index 879158a..bfaad75 100644 --- a/osm_lcm/odu_libs/cluster_mgmt.py +++ b/osm_lcm/odu_libs/cluster_mgmt.py @@ -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,