-
Notifications
You must be signed in to change notification settings - Fork 474
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
apply plugin network filters to TCP filter chains #10822
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just 1 suggestion for the test
reporter, | ||
) | ||
|
||
if len(envoyListener.FilterChains) == 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we also assert the expected length of the FilterChains?
that would have helped me parsing this test (and the desired behavior of the fc.go
changes) and seems like a good assertion in general
Signed-off-by: Steven Landow <[email protected]>
lol |
Signed-off-by: Steven Landow <[email protected]>
Description
Split out from #10783
share code for applying custom fitler chain field and from plugins for both HTTP and TCP chains
Context
Needed for waypoints, which add NetworkFilter globally to every chain on sandwiched proxies.
Testing steps
Added a unit test