Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xds: Ensure v2 route match is populated for gRPC
Similar to HTTP, ensure that route match config (which is required by Envoy) is populated when default values are used. Because the default matches generated for gRPC contain a single empty `GRPCRouteMatch`, and that proto does not directly support prefix-based config, an interpretation of the empty struct is needed to generate the same output that the `HTTPRouteMatch` is explicitly configured to provide in internal/mesh/internal/controllers/routes/generate.go.
- Loading branch information