mirror of
https://github.com/rancher/k3k.git
synced 2026-08-18 03:46:31 +00:00
Only reconcile the server resource on the StatefullSet Controller (fix #618)
This commit is contained in:
@@ -54,6 +54,7 @@ func AddStatefulSetController(ctx context.Context, mgr manager.Manager, maxConcu
|
||||
|
||||
return ctrl.NewControllerManagedBy(mgr).
|
||||
For(&apps.StatefulSet{}).
|
||||
WithEventFilter(newClusterPredicate()).
|
||||
Owns(&v1.Pod{}).
|
||||
Named(statefulsetController).
|
||||
WithOptions(controller.Options{MaxConcurrentReconciles: maxConcurrentReconciles}).
|
||||
|
||||
Reference in New Issue
Block a user