Skip to content

Commit

Permalink
Merge pull request #891 from hemanthnakkina/master
Browse files Browse the repository at this point in the history
K8S_ANNOT not recognized by multus cni plugin
  • Loading branch information
lukaszo authored Aug 18, 2019
2 parents 5a0c02c + c1880f3 commit f875909
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/cni/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ func (c *realClient) cniRuntimeConf(podID, podName, podNs string) *libcni.Runtim
{"K8S_POD_NAME", podName},
{"K8S_POD_INFRA_CONTAINER_ID", podID},
}
} else {
r.Args = [][2]string{
{"IgnoreUnknown", "1"},
}
}
return r
}
Expand Down

0 comments on commit f875909

Please sign in to comment.