Bug 2004 fixed: Helm repos certs now with the corret variable cluster_uuid 24/11924/1
authorPedro Escaleira <escaleira@av.it.pt>
Fri, 22 Apr 2022 17:51:00 +0000 (18:51 +0100)
committerPedro Escaleira <escaleira@av.it.pt>
Fri, 22 Apr 2022 17:51:00 +0000 (18:51 +0100)
Change-Id: Id4075db6830cc69ed4804b2300003748ec9422c5
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
n2vc/k8s_helm_base_conn.py

index 5079dbe..57010d1 100644 (file)
@@ -191,7 +191,7 @@ class K8sHelmBaseConnector(K8sConnector):
 
         if cert:
             temp_cert_file = os.path.join(
-                self.fs.path, "{}/helmcerts/".format(cluster_id), "temp.crt"
+                self.fs.path, "{}/helmcerts/".format(cluster_uuid), "temp.crt"
             )
             os.makedirs(os.path.dirname(temp_cert_file), exist_ok=True)
             with open(temp_cert_file, "w") as the_cert: