From 1188b5d69127c2c60aa8df8f98a0a7925bb473b8 Mon Sep 17 00:00:00 2001 From: Pedro Escaleira Date: Fri, 22 Apr 2022 18:51:00 +0100 Subject: [PATCH] Bug 2004 fixed: Helm repos certs now with the corret variable cluster_uuid Change-Id: Id4075db6830cc69ed4804b2300003748ec9422c5 Signed-off-by: Pedro Escaleira --- n2vc/k8s_helm_base_conn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/n2vc/k8s_helm_base_conn.py b/n2vc/k8s_helm_base_conn.py index 5079dbe..57010d1 100644 --- a/n2vc/k8s_helm_base_conn.py +++ b/n2vc/k8s_helm_base_conn.py @@ -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: -- 2.17.1