New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable a disabled filter by complete empty config or meaningless placeholder in the route #31482
Comments
cc @adisuissa @envoyproxy/api-shepherds |
There are some possible solutions:
|
Two other options:
|
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions. |
I ran into the same need in #33791 as #33791 (comment) suggested |
@marc-barry check the latest comment #33791 (comment) :) |
For those of you who encounter this issue #33791 (comment) did work as suggested and was a solution to suit my needs. |
Now, we can mark a filter in the HTTP filter chain as disabled by default and enable it by a valid route per filter config in the route/vh. See the following example. The filter
lua
will be disabled by default and be skipped when creating HTTP filter chain instance, except it's re-enabled by a valid route config in specific route. By this way, we can achieve the target of configuring route specific HTTP filter chain. Different route could have different HTTP filter chain.However, there two special case that haven't been handled appropriately:
The text was updated successfully, but these errors were encountered: