File tree Expand file tree Collapse file tree 6 files changed +90
-0
lines changed
Expand file tree Collapse file tree 6 files changed +90
-0
lines changed Original file line number Diff line number Diff line change @@ -169,6 +169,20 @@ spec:
169169 owner: root:root
170170 path: C:/ProgramData/ssh/administrators_authorized_keys
171171 permissions: "0640"
172+ - content : |
173+ $ErrorActionPreference = 'Continue'
174+ $scriptUrl = 'https://raw.githubusercontent.com/kubernetes-sigs/windows-testing/master/scripts/install-registry-structure.ps1'
175+ $scriptPath = 'C:/install-registry-structure.ps1'
176+ Write-Host "Downloading install-registry-structure.ps1 from GitHub..."
177+ curl.exe -sL $scriptUrl -o $scriptPath
178+ if (-not (Test-Path $scriptPath)) {
179+ Write-Error "Failed to download script from $scriptUrl"
180+ exit 1
181+ }
182+ Write-Host "Running install-registry-structure.ps1..."
183+ & $scriptPath
184+ path: C:/setup-registry-structure.ps1
185+ permissions: "0744"
172186 - content : |
173187 $ErrorActionPreference = 'Stop'
174188
@@ -217,6 +231,7 @@ spec:
217231 - powershell C:/updateKubeletConfig.ps1
218232 - powershell C:/KubeletRestart_nssm_sc.ps1
219233 - powershell C:/defender-exclude-calico.ps1
234+ - powershell C:/setup-registry-structure.ps1
220235 preKubeadmCommands :
221236 - powershell C:/create-temp-folder.ps1
222237 - powershell C:/replace-containerd.ps1
Original file line number Diff line number Diff line change @@ -169,6 +169,20 @@ spec:
169169 owner: root:root
170170 path: C:/ProgramData/ssh/administrators_authorized_keys
171171 permissions: "0640"
172+ - content : |
173+ $ErrorActionPreference = 'Continue'
174+ $scriptUrl = 'https://raw.githubusercontent.com/kubernetes-sigs/windows-testing/master/scripts/install-registry-structure.ps1'
175+ $scriptPath = 'C:/install-registry-structure.ps1'
176+ Write-Host "Downloading install-registry-structure.ps1 from GitHub..."
177+ curl.exe -sL $scriptUrl -o $scriptPath
178+ if (-not (Test-Path $scriptPath)) {
179+ Write-Error "Failed to download script from $scriptUrl"
180+ exit 1
181+ }
182+ Write-Host "Running install-registry-structure.ps1..."
183+ & $scriptPath
184+ path: C:/setup-registry-structure.ps1
185+ permissions: "0744"
172186 - content : |
173187 $ErrorActionPreference = 'Stop'
174188
@@ -212,6 +226,7 @@ spec:
212226 - powershell C:/updateKubeletConfig.ps1
213227 - powershell C:/KubeletRestart_nssm_sc.ps1
214228 - powershell C:/defender-exclude-calico.ps1
229+ - powershell C:/setup-registry-structure.ps1
215230 preKubeadmCommands :
216231 - powershell C:/create-temp-folder.ps1
217232 - powershell C:/replace-containerd.ps1
Original file line number Diff line number Diff line change @@ -169,6 +169,20 @@ spec:
169169 owner: root:root
170170 path: C:/ProgramData/ssh/administrators_authorized_keys
171171 permissions: "0640"
172+ - content : |
173+ $ErrorActionPreference = 'Continue'
174+ $scriptUrl = 'https://raw.githubusercontent.com/kubernetes-sigs/windows-testing/master/scripts/install-registry-structure.ps1'
175+ $scriptPath = 'C:/install-registry-structure.ps1'
176+ Write-Host "Downloading install-registry-structure.ps1 from GitHub..."
177+ curl.exe -sL $scriptUrl -o $scriptPath
178+ if (-not (Test-Path $scriptPath)) {
179+ Write-Error "Failed to download script from $scriptUrl"
180+ exit 1
181+ }
182+ Write-Host "Running install-registry-structure.ps1..."
183+ & $scriptPath
184+ path: C:/setup-registry-structure.ps1
185+ permissions: "0744"
172186 - content : |
173187 $ErrorActionPreference = 'Stop'
174188
@@ -222,6 +236,7 @@ spec:
222236 - powershell C:/updateKubeletConfig.ps1
223237 - powershell C:/KubeletRestart_nssm_sc.ps1
224238 - powershell C:/defender-exclude-calico.ps1
239+ - powershell C:/setup-registry-structure.ps1
225240 preKubeadmCommands :
226241 - powershell C:/create-temp-folder.ps1
227242 - powershell C:/replace-containerd.ps1
Original file line number Diff line number Diff line change @@ -170,6 +170,20 @@ spec:
170170 owner: root:root
171171 path: C:/ProgramData/ssh/administrators_authorized_keys
172172 permissions: "0640"
173+ - content : |
174+ $ErrorActionPreference = 'Continue'
175+ $scriptUrl = 'https://raw.githubusercontent.com/kubernetes-sigs/windows-testing/master/scripts/install-registry-structure.ps1'
176+ $scriptPath = 'C:/install-registry-structure.ps1'
177+ Write-Host "Downloading install-registry-structure.ps1 from GitHub..."
178+ curl.exe -sL $scriptUrl -o $scriptPath
179+ if (-not (Test-Path $scriptPath)) {
180+ Write-Error "Failed to download script from $scriptUrl"
181+ exit 1
182+ }
183+ Write-Host "Running install-registry-structure.ps1..."
184+ & $scriptPath
185+ path: C:/setup-registry-structure.ps1
186+ permissions: "0744"
173187 joinConfiguration :
174188 nodeRegistration :
175189 criSocket : npipe:////./pipe/containerd-containerd
@@ -185,6 +199,7 @@ spec:
185199 - powershell C:/updateKubeletConfig.ps1
186200 - powershell C:/KubeletRestart_nssm_sc.ps1
187201 - powershell C:/defender-exclude-calico.ps1
202+ - powershell C:/setup-registry-structure.ps1
188203 preKubeadmCommands :
189204 - powershell C:/create-temp-folder.ps1
190205 - powershell C:/replace-containerd.ps1
Original file line number Diff line number Diff line change @@ -169,6 +169,20 @@ spec:
169169 owner: root:root
170170 path: C:/ProgramData/ssh/administrators_authorized_keys
171171 permissions: "0640"
172+ - content : |
173+ $ErrorActionPreference = 'Continue'
174+ $scriptUrl = 'https://raw.githubusercontent.com/kubernetes-sigs/windows-testing/master/scripts/install-registry-structure.ps1'
175+ $scriptPath = 'C:/install-registry-structure.ps1'
176+ Write-Host "Downloading install-registry-structure.ps1 from GitHub..."
177+ curl.exe -sL $scriptUrl -o $scriptPath
178+ if (-not (Test-Path $scriptPath)) {
179+ Write-Error "Failed to download script from $scriptUrl"
180+ exit 1
181+ }
182+ Write-Host "Running install-registry-structure.ps1..."
183+ & $scriptPath
184+ path: C:/setup-registry-structure.ps1
185+ permissions: "0744"
172186 - content : |
173187 $ErrorActionPreference = 'Stop'
174188
@@ -217,6 +231,7 @@ spec:
217231 - powershell C:/updateKubeletConfig.ps1
218232 - powershell C:/KubeletRestart_nssm_sc.ps1
219233 - powershell C:/defender-exclude-calico.ps1
234+ - powershell C:/setup-registry-structure.ps1
220235 preKubeadmCommands :
221236 - powershell C:/create-temp-folder.ps1
222237 - powershell C:/replace-containerd.ps1
Original file line number Diff line number Diff line change @@ -169,6 +169,20 @@ spec:
169169 owner: root:root
170170 path: C:/ProgramData/ssh/administrators_authorized_keys
171171 permissions: "0640"
172+ - content : |
173+ $ErrorActionPreference = 'Continue'
174+ $scriptUrl = 'https://raw.githubusercontent.com/kubernetes-sigs/windows-testing/master/scripts/install-registry-structure.ps1'
175+ $scriptPath = 'C:/install-registry-structure.ps1'
176+ Write-Host "Downloading install-registry-structure.ps1 from GitHub..."
177+ curl.exe -sL $scriptUrl -o $scriptPath
178+ if (-not (Test-Path $scriptPath)) {
179+ Write-Error "Failed to download script from $scriptUrl"
180+ exit 1
181+ }
182+ Write-Host "Running install-registry-structure.ps1..."
183+ & $scriptPath
184+ path: C:/setup-registry-structure.ps1
185+ permissions: "0744"
172186 - content : |
173187 $ErrorActionPreference = 'Stop'
174188
@@ -212,6 +226,7 @@ spec:
212226 - powershell C:/updateKubeletConfig.ps1
213227 - powershell C:/KubeletRestart_nssm_sc.ps1
214228 - powershell C:/defender-exclude-calico.ps1
229+ - powershell C:/setup-registry-structure.ps1
215230 preKubeadmCommands :
216231 - powershell C:/create-temp-folder.ps1
217232 - powershell C:/replace-containerd.ps1
You can’t perform that action at this time.
0 commit comments