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
Sometimes some mutation needs to be done on Clusters based on Gateway policies. For example, if a Gateway supports mTLS via SPIFFE, we want to be able to add a SPIRE agent as an upstream cluster.
Currently it is not possible to know which Gateway xDS is being mutated so this conditional mutation is not possible.
EG already does a great job of custom Gateway policy attachments that it passes to the Listener modification hook. The proposal here is to pass the ExtensionResource(s) attached for the Gateway to the Translation hook as well.
[optional Relevant Links:]
Any extra documentation required to understand the issue.
Hi @muwaqar. WDYT about adding a cluster streaming hook that will have ExtensionRef HTTPRouteFilter context from the BackendRef filters, similar to how route rule HTTPRouteFilter drive xds route mutation in extension service?
After carefully re-reading your request, this does not solve the problem of adding the SPIRE cluster itself. Rather, it facilitates conditional and contextual mutation of specific clusters that use SPIRE.
Activity
guydc commentedon Mar 25, 2025
cc @liorokman
github-actions commentedon Apr 25, 2025
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
guydc commentedon Apr 25, 2025
Hi @muwaqar. WDYT about adding a cluster streaming hook that will have ExtensionRef
HTTPRouteFiltercontext from the BackendRef filters, similar to how route rule HTTPRouteFilter drive xds route mutation in extension service?https://gateway-api.sigs.k8s.io/reference/spec/#httpbackendref
For example:
The extension server is called with a new hook (PostClusterModify) with the generted cluster and the two filters as context.
guydc commentedon Apr 25, 2025
After carefully re-reading your request, this does not solve the problem of adding the SPIRE cluster itself. Rather, it facilitates conditional and contextual mutation of specific clusters that use SPIRE.
github-actions commentedon May 26, 2025
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
muwaqar commentedon Jun 9, 2025
closing this since #5914 is completed