Skip to content

Commit 43db314

Browse files
authored
revert: "fix: enable controller-runtime priority queue" (#1362)
1 parent e9a3add commit 43db314

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

internal/operator/operator.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@ import (
1717
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
1818
"k8s.io/client-go/kubernetes"
1919
clientgoscheme "k8s.io/client-go/kubernetes/scheme"
20-
"k8s.io/utils/ptr"
2120
ctrl "sigs.k8s.io/controller-runtime"
2221
"sigs.k8s.io/controller-runtime/pkg/cache"
2322
"sigs.k8s.io/controller-runtime/pkg/client"
2423
"sigs.k8s.io/controller-runtime/pkg/client/apiutil"
25-
ctrlconfig "sigs.k8s.io/controller-runtime/pkg/config"
2624
"sigs.k8s.io/controller-runtime/pkg/event"
2725
"sigs.k8s.io/controller-runtime/pkg/healthz"
2826
"sigs.k8s.io/controller-runtime/pkg/metrics/server"
@@ -129,9 +127,6 @@ func (o Operator) Start(cfg config.Config) error {
129127
Unstructured: true,
130128
DisableFor: []client.Object{&eventsv1.Event{}},
131129
}},
132-
Controller: ctrlconfig.Controller{
133-
UsePriorityQueue: ptr.To(true),
134-
},
135130
Scheme: scheme,
136131
MapperProvider: apiutil.NewDynamicRESTMapper,
137132
Metrics: metricsOpts,

0 commit comments

Comments
 (0)