From: lloretgalleg Date: Thu, 17 Dec 2020 09:19:30 +0000 (+0000) Subject: Changed url stable repository for helm3 X-Git-Tag: release-v9.0-start^0 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=7d0735dcfe5634bc9eebedeb67527495f6751a43;p=osm%2FN2VC.git Changed url stable repository for helm3 Change-Id: I28c45df018e32a7bc984645a8f058baaa1f7b6c7 Signed-off-by: lloretgalleg --- 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}")