mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
fix map assignment to entry in nil map,when use --feature-gates in kubeadm
This commit is contained in:
parent
26cc580e65
commit
23b75cfcad
@ -58,7 +58,7 @@ const (
|
||||
|
||||
// DefaultKubeProxyConfiguration assigns default values for the kube-proxy ComponentConfig
|
||||
func DefaultKubeProxyConfiguration(internalcfg *kubeadmapi.ClusterConfiguration) {
|
||||
externalproxycfg := &kubeproxyconfigv1alpha1.KubeProxyConfiguration{}
|
||||
externalproxycfg := &kubeproxyconfigv1alpha1.KubeProxyConfiguration{FeatureGates: make(map[string]bool)}
|
||||
kind := "KubeProxyConfiguration"
|
||||
|
||||
// Do a roundtrip to the external version for defaulting
|
||||
|
Loading…
Reference in New Issue
Block a user