File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,10 @@ import (
4848 "k8s.io/client-go/tools/record"
4949 ctrl "sigs.k8s.io/controller-runtime"
5050 "sigs.k8s.io/controller-runtime/pkg/client"
51+ "sigs.k8s.io/controller-runtime/pkg/controller"
5152 "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"
5253 "sigs.k8s.io/controller-runtime/pkg/log"
54+ "sigs.k8s.io/controller-runtime/pkg/reconcile"
5355
5456 corev1beta1 "github.com/openmcp-project/control-plane-operator/api/v1beta1"
5557 "github.com/openmcp-project/control-plane-operator/pkg/controlplane/components"
@@ -191,6 +193,9 @@ func (r *ControlPlaneReconciler) getReleaseChannels(ctx context.Context) corev1b
191193func (r * ControlPlaneReconciler ) SetupWithManager (mgr ctrl.Manager ) error {
192194 return ctrl .NewControllerManagedBy (mgr ).
193195 For (& corev1beta1.ControlPlane {}).
196+ WithOptions (controller.TypedOptions [reconcile.Request ]{
197+ MaxConcurrentReconciles : 10 ,
198+ }).
194199 Complete (r )
195200}
196201
You can’t perform that action at this time.
0 commit comments