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

Commit

Permalink
feat: [AKS Windows] Support 1.17.12, 1.18.9 and 1.19.1 (#3933)
Browse files Browse the repository at this point in the history
* feat: [AKS Windows] Support 1.17.12, 1.18.9 and 1.19.1

* chore: Update signed powershell script package to include CNI fixes in aks-engine
  • Loading branch information
AbelHu authored Oct 15, 2020
1 parent 8e16397 commit adf0ff7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pkg/api/common/versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,17 @@ var AllKubernetesSupportedVersions = map[string]bool{
"1.17.7": true,
"1.17.9": true,
"1.17.11": true,
"1.17.12": true,
"1.18.0": false,
"1.18.1": true,
"1.18.2": true,
"1.18.3": false,
"1.18.4": true,
"1.18.6": true,
"1.18.8": true,
"1.18.9": true,
"1.19.0": true,
"1.19.1": true,
}

// GetDefaultKubernetesVersion returns the default Kubernetes version, that is the latest patch of the default release
Expand Down
3 changes: 2 additions & 1 deletion pkg/api/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,9 @@ const (

// WindowsProfile defaults
// TODO: Move other values defined in WindowsProfiles (like DefaultWindowsSSHEnabled) here.
// This is not used by AKS. Update it for tracking.
const (
DefaultWindowsProvisioningScriptsPackageVersion = "v0.0.2"
DefaultWindowsProvisioningScriptsPackageVersion = "v0.0.3"
)

const (
Expand Down
2 changes: 2 additions & 0 deletions pkg/api/k8s_versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ func getKubeConfigs() map[string]map[string]string {

func getVersionOverrides(v string) map[string]string {
switch v {
case "1.19.1":
return map[string]string{"windowszip": "v1.19.1-hotfix.20200923/windowszip/v1.19.1-hotfix.20200923-1int.zip "}
case "1.18.6":
return map[string]string{"windowszip": "v1.18.6-hotfix.20200723/windowszip/v1.18.6-hotfix.20200723-1int.zip"}
case "1.18.4":
Expand Down

0 comments on commit adf0ff7

Please sign in to comment.