diff --git a/osm_lcm/k8s.py b/osm_lcm/k8s.py index 78cbdfda5e948f731463187b080d74c85037ad8e..b86e1337e1dadfb5ab2ec7d1ef6f05d3cf3e9735 100644 --- a/osm_lcm/k8s.py +++ b/osm_lcm/k8s.py @@ -1740,7 +1740,7 @@ class KsuLcm(GitOpsLcm): ] oka[ "sw_catalog_path" - ] = f"{oka_type}/{db_oka['git_name']}/templates" + ] = f"{oka_type}/{db_oka['git_name'].lower()}/templates" op_params.append(ksu_params) _, workflow_name = await self.odu.launch_workflow( diff --git a/osm_lcm/odu_libs/ksu.py b/osm_lcm/odu_libs/ksu.py index 453b43f46068e399927fd510e7ca294304c103d2..593792498e692e36e13dfd8baf95c671f7fa7247 100644 --- a/osm_lcm/odu_libs/ksu.py +++ b/osm_lcm/odu_libs/ksu.py @@ -48,7 +48,7 @@ async def create_ksus(self, op_id, op_params_list, content_list): oka_type = MAP_PROFILE[ oka_item.get("profile_type", "infra_controller_profiles") ] - oka_name = oka_item["git_name"] + oka_name = oka_item["git_name"].lower() oka_path = f"{oka_type}/{oka_name}/templates" workflow_template = "launcher-create-ksu-hr.j2" @@ -196,7 +196,7 @@ async def update_ksus(self, op_id, op_params_list, content_list): oka_type = MAP_PROFILE[ oka_item.get("profile_type", "infra_controller_profiles") ] - oka_name = oka_item["git_name"] + oka_name = oka_item["git_name"].lower() oka_path = f"{oka_type}/{oka_name}/templates" workflow_template = "launcher-update-ksu-hr.j2"