support custom os

Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
This commit is contained in:
Lyndon-Li
2026-03-11 17:56:53 +08:00
parent 733b2eb6f5
commit eac69375c9
8 changed files with 226 additions and 21 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ const (
NodeOSLabel = "kubernetes.io/os"
)
var realNodeOSMap map[string]string = map[string]string{
var realNodeOSMap = map[string]string{
"linux": NodeOSLinux,
"windows": NodeOSWindows,
}