mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Merge pull request #30874 from mwielgus/ret-nc
Automatic merge from submit-queue Federated namespace controller - stop reconcilation if not in sync cc: @quinton-hoole @kubernetes/sig-cluster-federation
This commit is contained in:
commit
7c1d59bbf4
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user