Reduce unnecessary status updates

This commit is contained in:
hongming
2022-05-13 17:50:49 +08:00
parent 1c96f99072
commit 825a38f948
3 changed files with 41 additions and 124 deletions

View File

@@ -493,7 +493,6 @@ func addAllControllers(mgr manager.Manager, client k8s.Client, informerFactory i
client.KubeSphere().ClusterV1alpha1().Clusters(),
cmOptions.MultiClusterOptions.ClusterControllerResyncPeriod,
cmOptions.MultiClusterOptions.HostClusterName,
kubernetesInformer.Core().V1().ConfigMaps(),
)
addController(mgr, "cluster", clusterController)
}