From b76633c2840542e0439ad98fcbd8f9619f27ce00 Mon Sep 17 00:00:00 2001 From: Eguzki Astiz Lezaun Date: Thu, 16 May 2024 13:11:53 +0200 Subject: [PATCH] kuadrant controller: remove unused watch (#646) --- controllers/kuadrant_controller.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/controllers/kuadrant_controller.go b/controllers/kuadrant_controller.go index 0adfe9b28..dfd2ddd5e 100644 --- a/controllers/kuadrant_controller.go +++ b/controllers/kuadrant_controller.go @@ -24,7 +24,6 @@ import ( authorinov1beta1 "github.com/kuadrant/authorino-operator/api/v1beta1" limitadorv1alpha1 "github.com/kuadrant/limitador-operator/api/v1alpha1" iopv1alpha1 "istio.io/istio/operator/pkg/apis/istio/v1alpha1" - appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" apimeta "k8s.io/apimachinery/pkg/api/meta" @@ -498,7 +497,6 @@ func (r *KuadrantReconciler) reconcileAuthorino(ctx context.Context, kObj *kuadr func (r *KuadrantReconciler) SetupWithManager(mgr ctrl.Manager) error { return ctrl.NewControllerManagedBy(mgr). For(&kuadrantv1beta1.Kuadrant{}). - Owns(&appsv1.Deployment{}). Owns(&limitadorv1alpha1.Limitador{}). Owns(&authorinov1beta1.Authorino{}). Complete(r)