Only reconcile the server resource on the StatefullSet Controller (fix #618)

This commit is contained in:
jpgouin
2026-01-21 16:53:52 +01:00
committed by GitHub
parent 20c5441030
commit 0cea0c9e14
+1
View File
@@ -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}).