Skip to content

Commit e00c1bc

Browse files
committed
Remove NT bootstrap and "after" config as EKS injects the bootstrapper regardless causing it to break.
1 parent 2bfb92e commit e00c1bc

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

userdata_nt.tpl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,4 @@ if ($disks_to_adjust -ne $null) {
2626
[string]$EKSBootstrapScriptName = 'Start-EKSBootstrap.ps1'
2727
[string]$EKSBootstrapScriptFile = "$EKSBinDir\$EKSBootstrapScriptName"
2828

29-
& $EKSBootstrapScriptFile -EKSClusterName "${cluster_name}" -APIServerEndpoint "${cluster_endpoint}" -Base64ClusterCA "${certificate_authority_data}" ${bootstrap_extra_args} -KubeletExtraArgs "${kubelet_extra_args}" 3>&1 4>&1 5>&1 6>&1
30-
31-
try{
32-
${after_cluster_joining_userdata}
33-
}catch{
34-
Write-Host "An error occurred in post-script" -ForegroundColor Red
35-
Write-Host $_.ScriptStackTrace
36-
}
3729
</powershell>

0 commit comments

Comments
 (0)