mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
e2e_node: Check for DynamicKubeletConfig properly
Even DynamicKubeletConfig is deprecated it still used in e2e_node test. The bug is hidden by forcibly enabled option TEST_ARGS='--feature-gates=DynamicKubeletConfig=true' if this option is not enabled setKubeletConfiguration tries to set kubelet config via apiserver interface and failed with timeout. Signed-off-by: Alexey Perevalov <alexey.perevalov@huawei.com>
This commit is contained in:
parent
b0bc8adbc2
commit
461d8f51f0
@ -188,7 +188,7 @@ func isKubeletConfigEnabled(f *framework.Framework) (bool, error) {
|
||||
}
|
||||
v, ok := cfgz.FeatureGates[string(features.DynamicKubeletConfig)]
|
||||
if !ok {
|
||||
return true, nil
|
||||
return false, nil
|
||||
}
|
||||
return v, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user