-
Notifications
You must be signed in to change notification settings - Fork 392
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
feat(translator): prefix TCP FilterChain name by irListener name #3738
base: main
Are you sure you want to change the base?
feat(translator): prefix TCP FilterChain name by irListener name #3738
Conversation
Signed-off-by: Dingkang Li <dingkang1743@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3738 +/- ##
==========================================
+ Coverage 67.89% 67.91% +0.02%
==========================================
Files 187 187
Lines 23022 23022
==========================================
+ Hits 15630 15635 +5
+ Misses 6278 6273 -5
Partials 1114 1114 ☔ View full report in Codecov by Sentry. |
No strong opinion on the filterchain name, but I think extension server should not make assumption on the structure of the filterchain name or any other names in the xDS. For example, assume the filterchain name will be in the form of "gateway name/listener name/routetype/route name". This is just an implementation detail of the xDS translation. It's not part of the EG API. There's no guarantee that it won't change over time. For |
You are correct, this proposal has coupled EG with Extension Server on very unreliable contracts. Perhaps we need to brainstorm other solutions to let Extension Server can detect which FilterChain should be targeted by policies. Here is a new proposal by @modatwork #3461 (comment) |
+1. However, there is currently no stable method for the extension server to manage the |
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 with the caveat that FilterChain name is not a contract for extension severs.
can you instead update the IR name gateway/internal/gatewayapi/helpers.go Line 387 in 04c5ce2
|
Sure, I can do this since each new |
Signed-off-by: Dingkang Li <dingkang1743@gmail.com>
Signed-off-by: Dingkang Li <dingkang1743@gmail.com>
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. Please feel free to give a status update now, ping for review, when it's ready. Thank you for your contributions! |
What this PR does / why we need it:
Prefix TCP FilterChain name by irListener name, to let extension server can locate TCP FilterChain according to policy's targetRef(s).
xref #3461 (comment)