fix: route level policy should override gateway wide compression setting#6904
fix: route level policy should override gateway wide compression setting#6904sudiptob2 wants to merge 3 commits intoenvoyproxy:mainfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6904 +/- ##
=======================================
Coverage 71.06% 71.06%
=======================================
Files 225 225
Lines 39871 39878 +7
=======================================
+ Hits 28336 28341 +5
Misses 9863 9863
- Partials 1672 1674 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
will |
|
Just tried that approach, but it has a couple of issues:
Any thoughts on working around these? @zirain |
git it, then we need document it |
f64d6ad to
75e1fb4
Compare
There was a problem hiding this comment.
can we add a yaml test in testdata/
There was a problem hiding this comment.
I am not sure if the custom logic is avoidable. Another approach suggested by Zirain to use annotations but it had a couple of isssues - discussed here.
Let me know if you have any other approach in mind.
There was a problem hiding this comment.
Using custom logic is not uncommon; merging the ratelimit policy also uses something similar.
gateway/internal/gatewayapi/backendtrafficpolicy.go
Lines 444 to 465 in 4e33b31
There was a problem hiding this comment.
the plan is to rm this custom logic
Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
… logic Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
55f29ce to
ac30731
Compare
|
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! |
Fixes #6775