Merge pull request #3442 from brb/2828-network-plugin-cni

Pass network-plugin value to kubelet
pull/3528/head
Thomas Strömberg 2019-01-11 11:40:09 -08:00 committed by GitHub
commit e6b60fb38c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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