Changed url stable repository for helm3 29/10129/3 release-v9.0-start v9.0.0 v9.0.0rc1
authorlloretgalleg <illoret@indra.es>
Thu, 17 Dec 2020 09:19:30 +0000 (09:19 +0000)
committerlloretgalleg <illoret@indra.es>
Thu, 17 Dec 2020 09:46:57 +0000 (09:46 +0000)
Change-Id: I28c45df018e32a7bc984645a8f058baaa1f7b6c7
Signed-off-by: lloretgalleg <illoret@indra.es>
n2vc/k8s_helm3_conn.py
n2vc/tests/unit/test_k8s_helm3_conn.py

index 25128b0..5a8c41f 100644 (file)
@@ -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
index 65af0b7..b1b5a60 100644 (file)
@@ -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}")