-
Notifications
You must be signed in to change notification settings - Fork 335
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(kuma-cp) aggregate services in MeshInsight #2974
feat(kuma-cp) aggregate services in MeshInsight #2974
Conversation
With this changes MeshInsights will contain `services` field, with amount of external and internal services for mesh Signed-off-by: Bart Smykla <bartek@smykla.com>
Codecov Report
@@ Coverage Diff @@
## master #2974 +/- ##
==========================================
- Coverage 52.38% 52.37% -0.02%
==========================================
Files 912 912
Lines 52522 52581 +59
==========================================
+ Hits 27514 27537 +23
- Misses 22814 22847 +33
- Partials 2194 2197 +3
Continue to review full report at Codecov.
|
// Builtin gateways have inbounds | ||
if dpOverview.Spec.Dataplane.IsDelegatedGateway() { |
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.
Not sure which is right here. The comment references builtin gateways but the code references deletegated gateways?
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.
OK, I see ... the condition is backwards :-(
|
||
// Builtin gateways have inbounds | ||
if dpOverview.Spec.Dataplane.IsDelegatedGateway() { | ||
svcName := dpOverview.Spec.Dataplane.Networking.GetGateway().GetTags()[mesh_proto.ServiceTag] |
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.
Please consistently use the protobuf Get
prefix.
Summary
With this changes MeshInsights will contain
services
field,with amount of external and internal services for mesh
Full changelog
no change log
Issues resolved
none issue resolved
Documentation
In progress
Testing
Backwards compatibility
backport-to-stable
label if the code is backwards compatible. Otherwise, list breaking changes.