From 7d0735dcfe5634bc9eebedeb67527495f6751a43 Mon Sep 17 00:00:00 2001 From: lloretgalleg Date: Thu, 17 Dec 2020 09:19:30 +0000 Subject: [PATCH] Changed url stable repository for helm3 Change-Id: I28c45df018e32a7bc984645a8f058baaa1f7b6c7 Signed-off-by: lloretgalleg --- n2vc/k8s_helm3_conn.py | 2 +- n2vc/tests/unit/test_k8s_helm3_conn.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/n2vc/k8s_helm3_conn.py b/n2vc/k8s_helm3_conn.py index 25128b0..5a8c41f 100644 --- a/n2vc/k8s_helm3_conn.py +++ b/n2vc/k8s_helm3_conn.py @@ -287,7 +287,7 @@ class K8sHelm3Connector(K8sHelmBaseConnector): else: await self.repo_add(cluster_uuid, "stable", - "https://kubernetes-charts.storage.googleapis.com/") + "https://charts.helm.sh/stable") # Returns False as no software needs to be uninstalled return False diff --git a/n2vc/tests/unit/test_k8s_helm3_conn.py b/n2vc/tests/unit/test_k8s_helm3_conn.py index 65af0b7..b1b5a60 100644 --- a/n2vc/tests/unit/test_k8s_helm3_conn.py +++ b/n2vc/tests/unit/test_k8s_helm3_conn.py @@ -68,7 +68,7 @@ class TestK8sHelm3Conn(asynctest.TestCase): self.helm_conn._create_namespace.assert_called_once_with(self.cluster_id, self.namespace) self.helm_conn.repo_list.assert_called_once_with(k8scluster_uuid) self.helm_conn.repo_add.assert_called_once_with( - k8scluster_uuid, "stable", "https://kubernetes-charts.storage.googleapis.com/") + k8scluster_uuid, "stable", "https://charts.helm.sh/stable") self.helm_conn.fs.reverse_sync.assert_called_once_with(from_path=self.cluster_id) self.logger.debug(f"cluster_uuid: {k8scluster_uuid}") -- 2.25.1