What would you like to be added:
Currently, our controller only supports HTTPRoute referencing XBackend resources. The controller does not support HTTPRoute referencing Service resources. We should add support for this.
If the Service resource referenced in the HTTPRoute resource has a corresponding XBackend resource, and an XAccessPolicy resource targeting the XBackend resource, but the XBackend resource is not referenced by any HTTPRoute resource, the rules defined in the XAccessPolicy resource should not impact the route for the Service resource. The controller should update the status of the XAccessPolicy resource to indicate that the rules in the XAccessPolicy resource are not taking effect because the route is missing.
Why this is needed:
The Gateway conformance test expects an implementation to support this.
What would you like to be added:
Currently, our controller only supports
HTTPRoutereferencingXBackendresources. The controller does not supportHTTPRoutereferencingServiceresources. We should add support for this.If the
Serviceresource referenced in theHTTPRouteresource has a correspondingXBackendresource, and anXAccessPolicyresource targeting theXBackendresource, but theXBackendresource is not referenced by anyHTTPRouteresource, the rules defined in theXAccessPolicyresource should not impact the route for theServiceresource. The controller should update the status of theXAccessPolicyresource to indicate that the rules in theXAccessPolicyresource are not taking effect because the route is missing.Why this is needed:
The Gateway conformance test expects an implementation to support this.