diff --git a/controllers/ratelimitpolicy_controller_test.go b/controllers/ratelimitpolicy_controller_test.go index c635bef3b..dda7e4d7d 100644 --- a/controllers/ratelimitpolicy_controller_test.go +++ b/controllers/ratelimitpolicy_controller_test.go @@ -416,7 +416,7 @@ var _ = Describe("RateLimitPolicy controller", func() { }) Context("RLP targeting Gateway", func() { - It("Creates all the resources for a basic Gateway and RateLimitPolicy", func() { + FIt("Creates all the resources for a basic Gateway and RateLimitPolicy", func() { // create httproute httpRoute := testBuildBasicHttpRoute(routeName, gwName, testNamespace, []string{"*.example.com"}) err := k8sClient.Create(context.Background(), httpRoute) diff --git a/pkg/reconcilers/targetref_reconciler.go b/pkg/reconcilers/targetref_reconciler.go index fd605c4ab..b9065a66f 100644 --- a/pkg/reconcilers/targetref_reconciler.go +++ b/pkg/reconcilers/targetref_reconciler.go @@ -114,6 +114,7 @@ func (r *TargetRefReconciler) FetchAcceptedGatewayHTTPRoutes(ctx context.Context ((p.ParentRef.Namespace == nil && route.GetNamespace() == gwKey.Namespace) || string(*p.ParentRef.Namespace) == gwKey.Namespace) && string(p.ParentRef.Name) == gwKey.Name }) + logger.V(1).Info("route info ", "httproute", client.ObjectKeyFromObject(&route), "parentStatus found", found) if found && meta.IsStatusConditionTrue(routeParentStatus.Conditions, "Accepted") { logger.V(1).Info("found route attached to gateway", "httproute", client.ObjectKeyFromObject(&route)) routes = append(routes, route)