mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
update kubeadm validation test to fix test error
This commit is contained in:
parent
3406af70bc
commit
120a23a025
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user