From 23e48a78510c559bcce8ac8e0cdbcfe4a95ee00a Mon Sep 17 00:00:00 2001 From: Jim Fitzpatrick Date: Mon, 14 Oct 2024 16:56:52 +0100 Subject: [PATCH] FIX: Adding back watches The status reconcile needs to watch the resources for chances. Signed-off-by: Jim Fitzpatrick --- controllers/kuadrant_controller.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/controllers/kuadrant_controller.go b/controllers/kuadrant_controller.go index b00892bbf..a3ce7f462 100644 --- a/controllers/kuadrant_controller.go +++ b/controllers/kuadrant_controller.go @@ -21,6 +21,8 @@ import ( "encoding/json" "github.com/go-logr/logr" + 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" corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" @@ -408,5 +410,7 @@ func (r *KuadrantReconciler) SetupWithManager(mgr ctrl.Manager) error { return ctrl.NewControllerManagedBy(mgr). For(&kuadrantv1beta1.Kuadrant{}). + Owns(&limitadorv1alpha1.Limitador{}). + Owns(&authorinov1beta1.Authorino{}). Complete(r) }