Commit 420bab47 authored by Marcin Wielgus's avatar Marcin Wielgus

Federated namespace controller - stop reconcilation if not in sync

parent 214c9160
...@@ -221,6 +221,7 @@ func (nc *NamespaceController) reconcileNamespacesOnClusterChange() { ...@@ -221,6 +221,7 @@ func (nc *NamespaceController) reconcileNamespacesOnClusterChange() {
func (nc *NamespaceController) reconcileNamespace(namespace string) { func (nc *NamespaceController) reconcileNamespace(namespace string) {
if !nc.isSynced() { if !nc.isSynced() {
nc.deliverNamespace(namespace, nc.clusterAvailableDelay, false) nc.deliverNamespace(namespace, nc.clusterAvailableDelay, false)
return
} }
baseNamespaceObj, exist, err := nc.namespaceInformerStore.GetByKey(namespace) baseNamespaceObj, exist, err := nc.namespaceInformerStore.GetByKey(namespace)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment