From 412aaf2b919ae1939bb9d127c43c365872d37c58 Mon Sep 17 00:00:00 2001 From: Erik Godding Boye Date: Thu, 10 Apr 2025 08:24:30 +0200 Subject: [PATCH] Revert "fix: enable controller-runtime priority queue (#1290)" This reverts commit 6d7ffd547ecea128e402fc133a28338de169d5bb. --- internal/operator/operator.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/operator/operator.go b/internal/operator/operator.go index ff368b14..6b234d07 100644 --- a/internal/operator/operator.go +++ b/internal/operator/operator.go @@ -17,12 +17,10 @@ import ( utilruntime "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/client-go/kubernetes" clientgoscheme "k8s.io/client-go/kubernetes/scheme" - "k8s.io/utils/ptr" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/client/apiutil" - ctrlconfig "sigs.k8s.io/controller-runtime/pkg/config" "sigs.k8s.io/controller-runtime/pkg/event" "sigs.k8s.io/controller-runtime/pkg/healthz" "sigs.k8s.io/controller-runtime/pkg/metrics/server" @@ -129,9 +127,6 @@ func (o Operator) Start(cfg config.Config) error { Unstructured: true, DisableFor: []client.Object{&eventsv1.Event{}}, }}, - Controller: ctrlconfig.Controller{ - UsePriorityQueue: ptr.To(true), - }, Scheme: scheme, MapperProvider: apiutil.NewDynamicRESTMapper, Metrics: metricsOpts,