diff options
Diffstat (limited to 'plugin/kubernetes/handler_test.go')
-rw-r--r-- | plugin/kubernetes/handler_test.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugin/kubernetes/handler_test.go b/plugin/kubernetes/handler_test.go index 405dc73d9..683e0de7a 100644 --- a/plugin/kubernetes/handler_test.go +++ b/plugin/kubernetes/handler_test.go @@ -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 } |