-
Is it possible to use Lua filter in httpRoute? If yes, is there any example for it? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
until a first class API is added (tracked with #2025) you can use EnvoyPatchPolicy to configure one https://gateway.envoyproxy.io/latest/user/extensibility/envoy-patch-policy/ |
Beta Was this translation helpful? Give feedback.
-
Hi @arkodg Thanks, |
Beta Was this translation helpful? Give feedback.
-
I have a similar scenario. I need to extract a field from a request body in JSON and add the value on a new request header (basically making the rate limit work properly on my OAuth endpoint), but I just don't see how I can do it with the Envoy gateway. I already have the Lua script and tested it on Envoy. |
Beta Was this translation helpful? Give feedback.
-
raised #4627 so first class support can be added for Lua |
Beta Was this translation helpful? Give feedback.
until a first class API is added (tracked with #2025) you can use EnvoyPatchPolicy to configure one https://gateway.envoyproxy.io/latest/user/extensibility/envoy-patch-policy/