envoyproxy / gateway

Manages Envoy Proxy as a Standalone or Kubernetes-based Application Gateway
https://gateway.envoyproxy.io
Apache License 2.0
1.63k stars 354 forks source link

Add support for adding extra headers sent to ext auth based on different requests. #4739

Open elvenlegolas opened 3 days ago

elvenlegolas commented 3 days ago

Description: Our case needs to add some extra req headers to ext auth service,but not for all requests,besides,we may need to add differenet headers based on different requests.I've tried Client Traffic Policy like https://github.com/envoyproxy/gateway/issues/4267, but the policy can only refer to gateway,so it affects all requests,I wonder if there are any more fine-grained configurations? Thanks.

[optional Relevant Links:] (https://github.com/envoyproxy/gateway/issues/4267)