-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(kumactl): add
--mesh
parameter to inspect <policy>
This was missing up until now Signed-off-by: Charly Molter <[email protected]>
- Loading branch information
Showing
29 changed files
with
188 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
app/kumactl/cmd/inspect/testdata/inspect-traffic-trace-other-mesh.golden.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Affected data plane proxies: | ||
|
||
backend-1 | ||
web-1 | ||
redis-1 |
47 changes: 47 additions & 0 deletions
47
app/kumactl/cmd/inspect/testdata/inspect-traffic-trace-other-mesh.server-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"total": 1, | ||
"items": [ | ||
{ | ||
"kind": "SidecarDataplane", | ||
"dataplane": { | ||
"mesh": "other-mesh", | ||
"name": "backend-1" | ||
}, | ||
"attachments": [ | ||
{ | ||
"type": "dataplane", | ||
"name": "", | ||
"service": "" | ||
} | ||
] | ||
}, | ||
{ | ||
"kind": "SidecarDataplane", | ||
"dataplane": { | ||
"mesh": "other-mesh", | ||
"name": "web-1" | ||
}, | ||
"attachments": [ | ||
{ | ||
"type": "dataplane", | ||
"name": "", | ||
"service": "" | ||
} | ||
] | ||
}, | ||
{ | ||
"kind": "SidecarDataplane", | ||
"dataplane": { | ||
"mesh": "other-mesh", | ||
"name": "redis-1" | ||
}, | ||
"attachments": [ | ||
{ | ||
"type": "dataplane", | ||
"name": "", | ||
"service": "" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.