Merge pull request #3442 from brb/2828-network-plugin-cni
Pass network-plugin value to kubeletpull/3528/head
commit
e6b60fb38c
|
|
@ -309,6 +309,11 @@ func NewKubeletConfig(k8s config.KubernetesConfig) (string, error) {
|
|||
}
|
||||
|
||||
extraOpts = SetContainerRuntime(extraOpts, k8s.ContainerRuntime)
|
||||
|
||||
if k8s.NetworkPlugin != "" {
|
||||
extraOpts["network-plugin"] = k8s.NetworkPlugin
|
||||
}
|
||||
|
||||
extraFlags := convertToFlags(extraOpts)
|
||||
|
||||
// parses a map of the feature gates for kubelet
|
||||
|
|
|
|||
Loading…
Reference in New Issue