Commit 120a23a0 authored by m1093782566's avatar m1093782566

update kubeadm validation test to fix test error

parent 3406af70
...@@ -591,6 +591,7 @@ func TestValidateKubeletConfiguration(t *testing.T) { ...@@ -591,6 +591,7 @@ func TestValidateKubeletConfiguration(t *testing.T) {
ReadOnlyPort: utilpointer.Int32Ptr(0), ReadOnlyPort: utilpointer.Int32Ptr(0),
RegistryBurst: 10, RegistryBurst: 10,
RegistryPullQPS: utilpointer.Int32Ptr(5), RegistryPullQPS: utilpointer.Int32Ptr(5),
HairpinMode: "promiscuous-bridge",
}, },
} }
if allErrors := ValidateKubeletConfiguration(successCase, nil); len(allErrors) != 0 { if allErrors := ValidateKubeletConfiguration(successCase, nil); len(allErrors) != 0 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment