mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Only set defaults when DynamicKubeletConfig feature gate is on.
This commit is contained in:
parent
845a10f0a9
commit
da971d8020
@ -110,7 +110,9 @@ func SetDefaults_MasterConfiguration(obj *MasterConfiguration) {
|
||||
}
|
||||
|
||||
SetDefaultsEtcdSelfHosted(obj)
|
||||
SetDefaults_KubeletConfiguration(obj)
|
||||
if features.Enabled(obj.FeatureGates, features.DynamicKubeletConfig) {
|
||||
SetDefaults_KubeletConfiguration(obj)
|
||||
}
|
||||
SetDefaults_ProxyConfiguration(obj)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user