Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
feat: add support for Kubernetes v1.20.5
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma committed Mar 19, 2021
1 parent 39dd736 commit ebc4d5e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pkg/api/common/versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ var AllKubernetesSupportedVersions = map[string]bool{
"1.20.1": false,
"1.20.2": false,
"1.20.3": false,
"1.20.4": true,
"1.20.4": false,
"1.20.5": true,
"1.21.0-alpha.1": false,
"1.21.0-alpha.2": false, // disabled, see https://github.com/kubernetes/kubernetes/issues/98419
"1.21.0-alpha.3": false,
Expand Down
4 changes: 2 additions & 2 deletions vhd/packer/configure-windows-vhd.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function Get-FilesToCacheOnVHD {
"https://kubernetesartifacts.azureedge.net/kubernetes/v1.17.17/windowszip/v1.17.17-1int.zip",
"https://kubernetesartifacts.azureedge.net/kubernetes/v1.18.16/windowszip/v1.18.16-1int.zip",
"https://kubernetesartifacts.azureedge.net/kubernetes/v1.19.8/windowszip/v1.19.8-1int.zip",
"https://kubernetesartifacts.azureedge.net/kubernetes/v1.20.4/windowszip/v1.20.4-1int.zip",
"https://kubernetesartifacts.azureedge.net/kubernetes/v1.20.5/windowszip/v1.20.5-1int.zip",
"https://kubernetesartifacts.azureedge.net/kubernetes/v1.21.0-beta.1/windowszip/v1.21.0-beta.1-1int.zip"
);
"c:\akse-cache\win-vnet-cni\" = @(
Expand Down Expand Up @@ -295,7 +295,7 @@ function Update-WindowsFeatures {

function Update-Registry {
# if multple LB policies are included for same endpoint then HNS hangs.
# this fix forces an error
# this fix forces an error
Write-Host "Enable a HNS fix in 2021-2C+"
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\hns\State" -Name HNSControlFlag -Value 1 -Type DWORD
}
Expand Down
2 changes: 1 addition & 1 deletion vhd/packer/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ echo " - busybox" >> ${VHD_LOGS_FILEPATH}

K8S_VERSIONS="
1.21.0-beta.1
1.20.4
1.20.5
1.19.8
1.18.16
1.18.15-azs
Expand Down

0 comments on commit ebc4d5e

Please sign in to comment.