diff --git a/cni-plugin/main.go b/cni-plugin/main.go index 82fb19a3..2bea5eb8 100644 --- a/cni-plugin/main.go +++ b/cni-plugin/main.go @@ -263,7 +263,7 @@ func cmdAdd(args *skel.CmdArgs) error { options.ProxyUserID = parsed } - if pod.GetLabels()["controller-component"] != "" { + if pod.GetLabels()["linkerd.io/control-plane-component"] != "" { // Skip k8s api server ports on the outbound side if pod is a // control plane component skippedPorts, err := getAPIServerPorts(ctx, client)