Update only the repo that was added instead of all repos
[osm/N2VC.git] / n2vc / k8s_helm_base_conn.py
index 8c52a7b..37df6c1 100644 (file)
@@ -178,8 +178,8 @@ class K8sHelmBaseConnector(K8sConnector):
         )
 
         # helm repo update
-        command = "env KUBECONFIG={} {} repo update".format(
-            paths["kube_config"], self._helm_command
+        command = "env KUBECONFIG={} {} repo update {}".format(
+            paths["kube_config"], self._helm_command, name
         )
         self.log.debug("updating repo: {}".format(command))
         await self._local_async_exec(