Skip to content

Commit 7f3b695

Browse files
authored
fix: Put KubeletExtraArgs in double quotes for Windows (#1082)
1 parent c2bd137 commit 7f3b695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/userdata_windows.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ${pre_userdata}
44
[string]$EKSBinDir = "$env:ProgramFiles\Amazon\EKS"
55
[string]$EKSBootstrapScriptName = 'Start-EKSBootstrap.ps1'
66
[string]$EKSBootstrapScriptFile = "$EKSBinDir\$EKSBootstrapScriptName"
7-
& $EKSBootstrapScriptFile -EKSClusterName ${cluster_name} -KubeletExtraArgs '${kubelet_extra_args}' 3>&1 4>&1 5>&1 6>&1
7+
& $EKSBootstrapScriptFile -EKSClusterName ${cluster_name} -KubeletExtraArgs "${kubelet_extra_args}" 3>&1 4>&1 5>&1 6>&1
88
$LastError = if ($?) { 0 } else { $Error[0].Exception.HResult }
99

1010
${additional_userdata}

0 commit comments

Comments
 (0)