Merge pull request #122885 from claudiubelu/unittests-10

unittests: Fixes unit tests for Windows (part 10)
This commit is contained in:
Kubernetes Prow Robot
2024-02-28 05:38:40 -08:00
committed by GitHub
7 changed files with 22 additions and 8 deletions

View File

@@ -41,6 +41,9 @@ func (o *Options) platformApplyDefaults(config *proxyconfigapi.KubeProxyConfigur
if config.Mode == "" {
config.Mode = proxyconfigapi.ProxyModeKernelspace
}
if config.Winkernel.RootHnsEndpointName == "" {
config.Winkernel.RootHnsEndpointName = "cbr0"
}
}
// platformSetup is called after setting up the ProxyServer, but before creating the