Update only the repo that was added instead of all repos
[osm/N2VC.git] / n2vc / k8s_helm_base_conn.py
index 9b0ca86..adbdefc 100644 (file)
@@ -201,8 +201,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(