mirror of https://github.com/linkerd/linkerd2.git
* Fix bug where GetPodsFor(pod) was returning all pods in a namespace Problem In lister.GetPodsFor, when the input object was a pod, we would return all the pods in the namespace. I would expect GetPodsFor(pod) to return only one pod - the pod itself. Cause The cause of this is that when the object type was pod we were setting the selector to selector = labels.Everything() which gets all the pods in the namespace. Fix Special case GetPodsFor(pod) to return the pod itself, rather than looking up pods via labels. |
||
---|---|---|
.. | ||
api | ||
cmd | ||
destination | ||
gen | ||
k8s | ||
script | ||
tap | ||
util | ||
Dockerfile |