Skip to content

Commit

Permalink
fix: Put KubeletExtraArgs in double quotes for Windows (#1082)
Browse files Browse the repository at this point in the history
  • Loading branch information
yveslaroche authored Sep 3, 2021
1 parent c2bd137 commit 7f3b695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/userdata_windows.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ${pre_userdata}
[string]$EKSBinDir = "$env:ProgramFiles\Amazon\EKS"
[string]$EKSBootstrapScriptName = 'Start-EKSBootstrap.ps1'
[string]$EKSBootstrapScriptFile = "$EKSBinDir\$EKSBootstrapScriptName"
& $EKSBootstrapScriptFile -EKSClusterName ${cluster_name} -KubeletExtraArgs '${kubelet_extra_args}' 3>&1 4>&1 5>&1 6>&1
& $EKSBootstrapScriptFile -EKSClusterName ${cluster_name} -KubeletExtraArgs "${kubelet_extra_args}" 3>&1 4>&1 5>&1 6>&1
$LastError = if ($?) { 0 } else { $Error[0].Exception.HResult }

${additional_userdata}
Expand Down

0 comments on commit 7f3b695

Please sign in to comment.