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

Commit

Permalink
chore: enable v1.23.15 & v1.24.9 on Azure Stack Hub (#5056)
Browse files Browse the repository at this point in the history
  • Loading branch information
christinalau0 authored and jadarsie committed Jan 26, 2023
1 parent 4969716 commit 9d341b7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pkg/api/common/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ const (
// KubernetesDefaultReleaseWindows is the default Kubernetes release for Windows
KubernetesDefaultReleaseWindows string = "1.23"
// KubernetesDefaultReleaseAzureStack is the default Kubernetes release on Azure Stack
KubernetesDefaultReleaseAzureStack string = "1.22"
KubernetesDefaultReleaseAzureStack string = "1.23"
// KubernetesDefaultReleaseWindowsAzureStack is the default Kubernetes release for Windows on Azure Stack
KubernetesDefaultReleaseWindowsAzureStack string = "1.22"
KubernetesDefaultReleaseWindowsAzureStack string = "1.23"
)

const LegacyControlPlaneVMPrefix string = "k8s-master"
Expand Down
14 changes: 10 additions & 4 deletions pkg/api/common/versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,11 +388,14 @@ var AllKubernetesSupportedVersionsAzureStack = map[string]bool{
"1.21.10": false,
"1.22.7": false,
"1.22.15": false,
"1.22.16": true,
"1.22.16": false,
"1.23.6": false,
"1.23.12": false,
"1.23.13": false,
"1.23.14": true,
"1.23.14": false,
"1.23.15": true,
"1.24.7": false,
"1.24.9": true,
}

// AllKubernetesWindowsSupportedVersionsAzureStack maintain a set of available k8s Windows versions in aks-engine on Azure Stack
Expand Down Expand Up @@ -423,11 +426,14 @@ var AllKubernetesWindowsSupportedVersionsAzureStack = map[string]bool{
"1.21.10": false,
"1.22.7": false,
"1.22.15": false,
"1.22.16": true,
"1.22.16": false,
"1.23.6": false,
"1.23.12": false,
"1.23.13": false,
"1.23.14": true,
"1.23.14": false,
"1.23.15": true,
"1.24.7": false,
"1.24.9": true,
}

// GetDefaultKubernetesVersion returns the default Kubernetes version, that is the latest patch of the default release
Expand Down

0 comments on commit 9d341b7

Please sign in to comment.