You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(xds): Allow injecting bootstrap info into xDS Filter API for config parsing
Extend the xDS Filter API to support injecting bootstrap information into
filters during configuration parsing. This allows filters to access context
information (e.g., allowed gRPC services) from the resource loading layer
during configuration validation and parsing.
- Update `Filter.Provider.parseFilterConfig` and `parseFilterConfigOverride`
to accept a `FilterContext` parameter.
- Introduce `BootstrapInfoGrpcServiceContextProvider` to encapsulate
bootstrap info for context resolution.
- Update `XdsListenerResource` and `XdsRouteConfigureResource` to
construct and pass `FilterContext` during configuration parsing.
- Update sub-filters (`FaultFilter`, `RbacFilter`, `GcpAuthenticationFilter`,
`RouterFilter`) to match the updated `FilterContext` signature.
Known Gaps & Limitations:
1. **MetricHolder**: Propagation of `MetricHolder` is not supported with
this approach currently and is planned for support in a later phase.
2. **NameResolverRegistry**: Propagation is deferred for consistency. While
it could be passed from `XdsNameResolver` on the client side, there is
no equivalent mechanism on the server side. To ensure consistent behavior,
`DefaultRegistry` is used when validating schemes and creating channels.
0 commit comments