Skip to content

Commit

Permalink
fix prefix typo affecting control plane components (#183)
Browse files Browse the repository at this point in the history
* fix prefix typo affecting control plane components

---------

Signed-off-by: Steve Jenson <[email protected]>
  • Loading branch information
Steve Jenson authored Feb 2, 2023
1 parent 5ff7e55 commit 109f072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cni-plugin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 109f072

Please sign in to comment.