-
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(observability): add annotation to make observability while runnin…
…g CNI work Signed-off-by: slonka <slonka@users.noreply.github.com>
- Loading branch information
Showing
20 changed files
with
129 additions
and
123 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
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
4 changes: 2 additions & 2 deletions
4
pkg/api-server/testdata/inspect/empty_resources_dataplanes.golden.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"items": [], | ||
"total": 0 | ||
"items": [], | ||
"total": 0 | ||
} |
16 changes: 8 additions & 8 deletions
16
pkg/api-server/testdata/inspect/match_mesh_dataplanes.golden.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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "dp-1", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 1 | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "dp-1", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 1 | ||
} |
16 changes: 8 additions & 8 deletions
16
pkg/api-server/testdata/inspect/match_meshservice_dataplanes.golden.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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "dp-1", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 1 | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "dp-1", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 1 | ||
} |
26 changes: 13 additions & 13 deletions
26
pkg/api-server/testdata/inspect/meshgateway_dataplanes.golden.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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "dp-1", | ||
"type": "Dataplane" | ||
}, | ||
{ | ||
"mesh": "default", | ||
"name": "dp-2", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 2 | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "dp-1", | ||
"type": "Dataplane" | ||
}, | ||
{ | ||
"mesh": "default", | ||
"name": "dp-2", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 2 | ||
} |
16 changes: 8 additions & 8 deletions
16
pkg/api-server/testdata/inspect/meshgatewayroute_dataplanes.golden.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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "dp-3", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 1 | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "dp-3", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 1 | ||
} |
4 changes: 2 additions & 2 deletions
4
pkg/api-server/testdata/inspect/meshhttproute_absent_dataplanes.golden.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"items": [], | ||
"total": 0 | ||
"items": [], | ||
"total": 0 | ||
} |
16 changes: 8 additions & 8 deletions
16
pkg/api-server/testdata/inspect/meshhttproute_dataplanes.golden.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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "dp-1", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 1 | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "dp-1", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 1 | ||
} |
16 changes: 8 additions & 8 deletions
16
pkg/api-server/testdata/inspect/meshtimeouthttproute.golden.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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "the-dp", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 1 | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "the-dp", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 1 | ||
} |
16 changes: 8 additions & 8 deletions
16
pkg/api-server/testdata/inspect/namefilter_dataplanes.golden.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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "the-dp", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 1 | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "the-dp", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 1 | ||
} |
16 changes: 8 additions & 8 deletions
16
pkg/api-server/testdata/inspect/pagination_dataplanes.golden.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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "dp-2", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 2 | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "dp-2", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 2 | ||
} |
10 changes: 5 additions & 5 deletions
10
pkg/api-server/testdata/inspect/policy_not_found_dataplanes.golden.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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"type": "/std-errors", | ||
"status": 404, | ||
"title": "Could not retrieve policy", | ||
"detail": "Not found", | ||
"details": "Not found" | ||
"type": "/std-errors", | ||
"status": 404, | ||
"title": "Could not retrieve policy", | ||
"detail": "Not found", | ||
"details": "Not found" | ||
} |
26 changes: 13 additions & 13 deletions
26
pkg/api-server/testdata/inspect/proxytemplate_dataplanes.golden.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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "dp-1", | ||
"type": "Dataplane" | ||
}, | ||
{ | ||
"mesh": "default", | ||
"name": "dp-2", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 2 | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "dp-1", | ||
"type": "Dataplane" | ||
}, | ||
{ | ||
"mesh": "default", | ||
"name": "dp-2", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 2 | ||
} |
36 changes: 18 additions & 18 deletions
36
pkg/api-server/testdata/inspect/retry_dataplanes.golden.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 |
---|---|---|
@@ -1,20 +1,20 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "dp-1", | ||
"type": "Dataplane" | ||
}, | ||
{ | ||
"mesh": "default", | ||
"name": "dp-2", | ||
"type": "Dataplane" | ||
}, | ||
{ | ||
"mesh": "default", | ||
"name": "dp-3", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 3 | ||
"items": [ | ||
{ | ||
"mesh": "default", | ||
"name": "dp-1", | ||
"type": "Dataplane" | ||
}, | ||
{ | ||
"mesh": "default", | ||
"name": "dp-2", | ||
"type": "Dataplane" | ||
}, | ||
{ | ||
"mesh": "default", | ||
"name": "dp-3", | ||
"type": "Dataplane" | ||
} | ||
], | ||
"total": 3 | ||
} |
28 changes: 14 additions & 14 deletions
28
pkg/plugins/policies/core/matchers/testdata/matchedpolicies/dataplanepolicies/06.golden.yaml
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 |
---|---|---|
@@ -1,18 +1,18 @@ | ||
items: | ||
- creationTime: "0001-01-01T00:00:00Z" | ||
mesh: default | ||
modificationTime: "0001-01-01T00:00:00Z" | ||
name: mt1 | ||
spec: | ||
- creationTime: "0001-01-01T00:00:00Z" | ||
mesh: default | ||
modificationTime: "0001-01-01T00:00:00Z" | ||
name: mt1 | ||
spec: | ||
targetRef: | ||
kind: MeshHTTPRoute | ||
name: route-1 | ||
to: | ||
- default: | ||
http: | ||
requestTimeout: 2s | ||
targetRef: | ||
kind: MeshHTTPRoute | ||
name: route-1 | ||
to: | ||
- default: | ||
http: | ||
requestTimeout: 2s | ||
targetRef: | ||
kind: Mesh | ||
type: MeshTimeout | ||
kind: Mesh | ||
type: MeshTimeout | ||
next: null | ||
total: 0 |