Fix windows kubelet flags

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/12144/head
Brad Davidson 2025-04-11 17:15:06 +00:00 committed by Brad Davidson
parent 891be5751e
commit 5e851c8d04
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ func kubeletArgs(cfg *config.Agent) map[string]string {
"fail-swap-on": "false",
"authentication-token-webhook": "true",
"anonymous-auth": "false",
"cgroups-per-qos": "false",
"enforce-node-allocatable": "",
"authorization-mode": modes.ModeWebhook,
}
if cfg.PodManifests != "" && argsMap["pod-manifest-path"] == "" {