From: garciadeblas Date: Mon, 18 Nov 2024 09:24:26 +0000 (+0100) Subject: Minor change in yaml indentation for kubeconfig in imported clusters X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F41%2F14741%2F4;p=osm%2FLCM.git Minor change in yaml indentation for kubeconfig in imported clusters Change-Id: I01e9e62b7d155f71b57659f7280d6d2942e53492 Signed-off-by: garciadeblas --- diff --git a/osm_lcm/odu_libs/cluster_mgmt.py b/osm_lcm/odu_libs/cluster_mgmt.py index 6540b71..73405ec 100644 --- a/osm_lcm/odu_libs/cluster_mgmt.py +++ b/osm_lcm/odu_libs/cluster_mgmt.py @@ -303,7 +303,7 @@ async def register_cluster(self, op_id, op_params, content): secret_namespace2 = "managed-resources" secret_key2 = "kubeconfig" secret_value2 = yaml.safe_dump( - db_cluster["credentials"], indent=4, default_flow_style=False, sort_keys=False + db_cluster["credentials"], indent=2, default_flow_style=False, sort_keys=False ) try: await self.create_secret(