Synchronize helm repos on ns instantiation instead of creation
Change-Id: Ia4f35283399d2777ff3df1fb2824a68cbaec4804
Signed-off-by: lloretgalleg <illoret@indra.es>
diff --git a/n2vc/k8s_conn.py b/n2vc/k8s_conn.py
index f9aefa7..6ac8119 100644
--- a/n2vc/k8s_conn.py
+++ b/n2vc/k8s_conn.py
@@ -123,6 +123,20 @@
"""
@abc.abstractmethod
+ async def synchronize_repos(
+ self,
+ cluster_uuid: str,
+ name: str
+ ):
+ """
+ Synchronizes the list of repositories created in the cluster with
+ the repositories added by the NBI
+
+ :param cluster_uuid: the cluster
+ :return: List of repositories deleted from the cluster and dictionary with repos added
+ """
+
+ @abc.abstractmethod
async def reset(
self,
cluster_uuid: str,