This repository was archived by the owner on Dec 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 88
99 "github.com/mongodb/mongodb-kubernetes-operator/controllers/predicates"
1010 "sigs.k8s.io/controller-runtime/pkg/builder"
11+ "sigs.k8s.io/controller-runtime/pkg/controller"
1112 "sigs.k8s.io/controller-runtime/pkg/source"
1213
1314 "github.com/mongodb/mongodb-kubernetes-operator/pkg/kube/container"
@@ -82,6 +83,7 @@ func NewReconciler(mgr manager.Manager) *ReplicaSetReconciler {
8283// SetupWithManager sets up the controller with the Manager and configures the necessary watches.
8384func (r * ReplicaSetReconciler ) SetupWithManager (mgr ctrl.Manager ) error {
8485 return ctrl .NewControllerManagedBy (mgr ).
86+ WithOptions (controller.Options {MaxConcurrentReconciles : 3 }).
8587 For (& mdbv1.MongoDBCommunity {}, builder .WithPredicates (predicates .OnlyOnSpecChange ())).
8688 Watches (& source.Kind {Type : & corev1.Secret {}}, r .secretWatcher ).
8789 Complete (r )
Original file line number Diff line number Diff line change 44
55- Changes
66 - stability improvements when changing version of MongoDB.
7+ - increased number of concurrent resources the operator can act on.
78
89## Updated Image Tags
910
You can’t perform that action at this time.
0 commit comments