mirror of https://github.com/linkerd/linkerd2.git
According to the [xRoutes Mesh Binding KEP](https://gateway-api.sigs.k8s.io/geps/gep-1426/#ports), the port in a parent reference is optional: > By default, a Service attachment applies to all ports in the service. Users may want to attach routes to only a specific port in a Service. To do so, the parentRef.port field should be used. > If port is set, the implementation MUST associate the route only with that port. If port is not set, the implementation MUST associate the route with all ports defined in the Service. However, we currently ignore any HttpRoutes which don't have a port specified in the parent ref. We update the policy controller to apply HttpRoutes which do not specify a port in the parent ref to all ports of the parent service. We do this by storing these "portless" HttpRoutes in the index and then copying these routes into every port-specific watch for that service. Signed-off-by: Alex Leong <alex@buoyant.io> |
||
---|---|---|
.. | ||
core | ||
grpc | ||
k8s | ||
src | ||
.dockerignore | ||
Cargo.toml | ||
Dockerfile |