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

Commit

Permalink
add Kubernetes v1.8.13 support (#2975)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis authored May 16, 2018
1 parent 87408da commit 49ebb20
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pkg/api/common/versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ var AllKubernetesSupportedVersions = map[string]bool{
"1.8.10": true,
"1.8.11": true,
"1.8.12": true,
"1.8.13": true,
"1.9.0": true,
"1.9.1": true,
"1.9.2": true,
Expand Down Expand Up @@ -205,6 +206,7 @@ func getAllKubernetesWindowsSupportedVersionsMap() map[string]bool {
"1.6.13",
"1.7.0",
"1.7.1",
"1.8.13",
"1.10.0-beta.2",
"1.10.0-beta.4",
"1.10.0-rc.1",
Expand Down
5 changes: 3 additions & 2 deletions test/e2e/kubernetes/kubernetes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ var _ = Describe("Azure Container Cluster using the Kubernetes Orchestrator", fu
})

It("should be running the expected version", func() {
hasWindows := eng.HasWindowsAgents()
version, err := node.Version()
Expect(err).NotTo(HaveOccurred())

Expand All @@ -167,13 +168,13 @@ var _ = Describe("Azure Container Cluster using the Kubernetes Orchestrator", fu
common.Kubernetes,
eng.ClusterDefinition.Properties.OrchestratorProfile.OrchestratorRelease,
eng.ClusterDefinition.Properties.OrchestratorProfile.OrchestratorVersion,
false)
hasWindows)
} else {
expectedVersion = common.RationalizeReleaseAndVersion(
common.Kubernetes,
eng.Config.OrchestratorRelease,
eng.Config.OrchestratorVersion,
false)
hasWindows)
}
expectedVersionRationalized := strings.Split(expectedVersion, "-")[0] // to account for -alpha and -beta suffixes
Expect(version).To(Equal("v" + expectedVersionRationalized))
Expand Down

0 comments on commit 49ebb20

Please sign in to comment.