mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Merge pull request #91796 from pjh/repair-powershell
Repair syntax error in Windows-GCE startup script
This commit is contained in:
commit
65821acd87
@ -1216,14 +1216,16 @@ function Verify-WorkerServices {
|
|||||||
Log_Todo "run more verification commands."
|
Log_Todo "run more verification commands."
|
||||||
}
|
}
|
||||||
|
|
||||||
# Downloads crictl.exe and installs it in $env:NODE_DIR.
|
# Downloads the Windows crictl package and installs its contents (e.g.
|
||||||
|
# crictl.exe) in $env:NODE_DIR.
|
||||||
function DownloadAndInstall-Crictl {
|
function DownloadAndInstall-Crictl {
|
||||||
if (-not (ShouldWrite-File ${env:NODE_DIR}\crictl.exe)) {
|
if (-not (ShouldWrite-File ${env:NODE_DIR}\crictl.exe)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
$CRI_TOOLS_GCS_BUCKET = "k8s-artifacts-cri-tools"
|
$CRI_TOOLS_GCS_BUCKET = 'k8s-artifacts-cri-tools'
|
||||||
$url = ('https://storage.googleapis.com/$CRI_TOOLS_GCS_BUCKET/release/' +
|
$url = ('https://storage.googleapis.com/' + $CRI_TOOLS_GCS_BUCKET +
|
||||||
$CRICTL_VERSION + '/crictl-' + $CRICTL_VERSION + '-windows-amd64.tar.gz')
|
'/release/' + $CRICTL_VERSION + '/crictl-' + $CRICTL_VERSION +
|
||||||
|
'-windows-amd64.tar.gz')
|
||||||
MustDownload-File `
|
MustDownload-File `
|
||||||
-URLs $url `
|
-URLs $url `
|
||||||
-OutFile ${env:NODE_DIR}\crictl.tar.gz `
|
-OutFile ${env:NODE_DIR}\crictl.tar.gz `
|
||||||
|
Loading…
Reference in New Issue
Block a user