Description
Currently I have defined two gateway classes: one whose controller is contour and another whose controller is aws vpc gateway controller.
However in the logs of the aws gapi controller I am seeing this line:
{"level":"info","ts":"2025-02-03T12:14:26.557Z","logger":"controller.route","caller":"controllers/route_controller.go:256","msg":"Could not find gateway qdb/qdb-gateway with err Gateway.gateway.networking.k8s.io "qdb-gateway" not found. Ignoring route &{s:{CommonRouteSpec:{ParentRefs:[{Group:0xc001493960 Kind:0xc001493970 Namespace: Name:qdb-gateway SectionName: Port:}]} Hostnames:[qdb2-fp-total-returns-daily-eu.dev.m2.zone] Rules:[{Name: Matches:[] Filters:[] BackendRefs:[{BackendRef:{BackendObjectReference:{Group:0xc001493990 Kind:0xc0014939a0 Name:qdb2-fp-total-returns-daily-eu Namespace: Port:0xc002509ef0} Weight:0xc002509ef4} Filters:[]}] SessionPersistence:}]}} whose ParentRef gateway object is not defined.","trace_id":"a3e838aa-e8a6-46a1-bd7c-b7a2b4d0a27e"}
Maybe the controller could ignore any route that is not referencing a parent ref, ie a gateway that is not managed by the gateway api controller ?