-
Notifications
You must be signed in to change notification settings - Fork 571
feat: add compressor field to configure compression setting in BackendTrafficPolicy #6956
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: add compressor field to configure compression setting in BackendTrafficPolicy #6956
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6956 +/- ##
==========================================
+ Coverage 70.96% 71.02% +0.05%
==========================================
Files 229 229
Lines 41012 41024 +12
==========================================
+ Hits 29106 29136 +30
+ Misses 10190 10174 -16
+ Partials 1716 1714 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
c367bd8
to
f0f309c
Compare
// +patchStrategy=merge | ||
// | ||
// +optional | ||
Compressor []*Compression `json:"compressor,omitempty" patchMergeKey:"type" patchStrategy:"merge"` |
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 rm the patchMergeKey
, they are not needed here
ba27eea
to
286ba06
Compare
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 thanks
286ba06
to
46265cc
Compare
4739514
to
1d3f7ac
Compare
…dTrafficPolicy Signed-off-by: sudipto baral <[email protected]>
…mpressor field and deprecate the old compression field Signed-off-by: sudipto baral <[email protected]>
Signed-off-by: sudipto baral <[email protected]>
Signed-off-by: sudipto baral <[email protected]>
Signed-off-by: sudipto baral <[email protected]>
1d3f7ac
to
86678f2
Compare
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 thanks
Removed unnecessary patchMergeKey and patchStrategy from Compressor field. Signed-off-by: Rudrakh Panigrahi <[email protected]>
Signed-off-by: Rudrakh Panigrahi <[email protected]>
/retest |
…dTrafficPolicy (envoyproxy#6956) * feat: add compressor field to configure compression setting in BackendTrafficPolicy Signed-off-by: sudipto baral <[email protected]> * docs: update response compression documentation to reflect the new compressor field and deprecate the old compression field Signed-off-by: sudipto baral <[email protected]> * test: update translator tests outputs Signed-off-by: sudipto baral <[email protected]> * test: re-generate outputs Signed-off-by: sudipto baral <[email protected]> * test: go mod tidy Signed-off-by: sudipto baral <[email protected]> * remove patchMerge from Compressor field definition Removed unnecessary patchMergeKey and patchStrategy from Compressor field. Signed-off-by: Rudrakh Panigrahi <[email protected]> * revert patchMergeKey changes Signed-off-by: Rudrakh Panigrahi <[email protected]> --------- Signed-off-by: sudipto baral <[email protected]> Signed-off-by: Rudrakh Panigrahi <[email protected]> Co-authored-by: Rudrakh Panigrahi <[email protected]> Signed-off-by: Adam Buran <[email protected]>
Fixes #6924
This PR implements a new
Compressor
field and deprecates the existingCompression
field.