We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1595f2 commit 4ff74a9Copy full SHA for 4ff74a9
pkg/controller/kubelet-config/kubelet_config_controller_test.go
@@ -926,6 +926,20 @@ func TestKubeletConfigDenylistedOptions(t *testing.T) {
926
},
927
928
929
+ {
930
+ name: "test banned failSwapOn",
931
+ config: &kubeletconfigv1beta1.KubeletConfiguration{
932
+ FailSwapOn: pointer.BoolPtr(true),
933
+ },
934
935
936
+ name: "test banned swapBehavior",
937
938
+ MemorySwap: kubeletconfigv1beta1.MemorySwapConfiguration{
939
+ SwapBehavior: "NoSwap",
940
941
942
943
}
944
945
successTests := []struct {
0 commit comments