diff --git a/hack/verify-flags/known-flags.txt b/hack/verify-flags/known-flags.txt index 67efd377cab..2bbcd8fc496 100644 --- a/hack/verify-flags/known-flags.txt +++ b/hack/verify-flags/known-flags.txt @@ -71,6 +71,8 @@ cluster-tag cluster-monitor-period cluster-signing-cert-file cluster-signing-key-file +cni-bin-dir +cni-conf-dir concurrent-deployment-syncs concurrent-endpoint-syncs concurrent-namespace-syncs diff --git a/pkg/kubelet/network/cni/cni_test.go b/pkg/kubelet/network/cni/cni_test.go index edeabf14480..41fd2786082 100644 --- a/pkg/kubelet/network/cni/cni_test.go +++ b/pkg/kubelet/network/cni/cni_test.go @@ -183,7 +183,7 @@ func TestCNIPlugin(t *testing.T) { NetnsPath: "/proc/12345/ns/net", }} - plugins := probeNetworkPluginsWithVendorCNIDirPrefix(path.Join(testNetworkConfigPath, pluginName), testVendorCNIDirPrefix) + plugins := probeNetworkPluginsWithVendorCNIDirPrefix(path.Join(testNetworkConfigPath, pluginName), "", testVendorCNIDirPrefix) if len(plugins) != 1 { t.Fatalf("Expected only one network plugin, got %d", len(plugins)) } @@ -246,7 +246,7 @@ func TestCNIPlugin(t *testing.T) { } func TestLoNetNonNil(t *testing.T) { - if conf := getLoNetwork(""); conf == nil { + if conf := getLoNetwork("", ""); conf == nil { t.Error("Expected non-nil lo network") } }