add client labels to k8s plugin metadata (#6475)
Signed-off-by: Nolan Miles <nolanpmiles@gmail.com>
This commit is contained in:
parent
3d67ee907d
commit
92b7e658e3
5 changed files with 24 additions and 5 deletions
|
@ -580,7 +580,13 @@ func (APIConnServeTest) PodIndex(ip string) []*object.Pod {
|
|||
return []*object.Pod{}
|
||||
}
|
||||
a := []*object.Pod{
|
||||
{Namespace: "podns", Name: "foo", PodIP: "10.240.0.1"}, // Remote IP set in test.ResponseWriter
|
||||
{
|
||||
Namespace: "podns", Name: "foo", PodIP: "10.240.0.1",
|
||||
Labels: map[string]string{
|
||||
"app.kubernetes.io/name": "foo",
|
||||
"bar": "baz",
|
||||
},
|
||||
}, // Remote IP set in test.ResponseWriter
|
||||
}
|
||||
return a
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue