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
Currently using httproute annotations i can add static xds metadata. But when we need to add specific static metadata to a specific xds route rule this is not supported. for this I m proposing the following annotation structure.
@zirain in the EnvoyGateway document it says in the future, it might be supported through annotations thats why, I have proposed this design. What do you think the right way to do this?
@Tharsanan1 I believe the design doc is referring to mapping a HTTPRoute Rule Name to a xDS Route metadata, but you're referring to bringing additional user specified kay, value pairs and setting them for a xDS Route metadata which maps to a specific HTTP Route Rule.
-1 to the approach you've mentioned, you could achieve the same goal by splitting up the rule into a dedicated HTTPRoute
Description
Currently using httproute annotations i can add static xds metadata. But when we need to add specific static metadata to a specific xds route rule this is not supported. for this I m proposing the following annotation structure.
gateway.envoyproxy.io/rule.<rule-index>.match.<match-index>.<key>: <value>
Example
Resulting XDS Metadata Translation:
Shall I implement this improvement and send a PR?
This kind of improvement is marked as future enhancement in the doc. link
The text was updated successfully, but these errors were encountered: