-
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(extension-manager): make grpc message size configurable #5077
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5077 +/- ##
==========================================
+ Coverage 66.87% 66.98% +0.10%
==========================================
Files 210 210
Lines 32951 32961 +10
==========================================
+ Hits 22037 22079 +42
+ Misses 9584 9554 -30
+ Partials 1330 1328 -2 ☔ View full report in Codecov by Sentry. |
api/v1alpha1/envoygateway_types.go
Outdated
// +kubebuilder:validation:Minimum=1 | ||
// | ||
// +optional | ||
MaxMessageSizeBytes *int `json:"grpcMaxMessageSize,omitempty"` |
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.
the json tag is different from the field name
also, can you check if we use the bytes
suffix in other places of the API (e.g. buffer limit) or is it implied and part of the doc string ? would be good to keep it consistent
api/v1alpha1/envoygateway_types.go
Outdated
// +kubebuilder:validation:Minimum=1 | ||
// | ||
// +optional | ||
MaxMessageSize *int `json:"maxMessageSize,omitempty"` |
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.
should we use resource.Quantity
here similar to
gateway/api/v1alpha1/connection_types.go
Line 28 in 0ee0a8a
BufferLimit *resource.Quantity `json:"bufferLimit,omitempty"` |
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 !
Signed-off-by: Guy Daich <guy.daich@sap.com>
Signed-off-by: Guy Daich <guy.daich@sap.com>
Signed-off-by: Guy Daich <guy.daich@sap.com>
Signed-off-by: Guy Daich <guy.daich@sap.com>
c07b4a5
to
d7b73d5
Compare
…oxy#5077) * feat(extension-manager): make grpc message size configurable Signed-off-by: Guy Daich <guy.daich@sap.com> Signed-off-by: EshaanAgg <96648934+EshaanAgg@users.noreply.github.com>
…oxy#5077) * feat(extension-manager): make grpc message size configurable Signed-off-by: Guy Daich <guy.daich@sap.com>
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #5075
Release Notes: Yes