From 9c04766016d60e918d0a2baa4f86b642e4195bf3 Mon Sep 17 00:00:00 2001 From: Mateusz Gozdek Date: Sat, 23 Dec 2023 19:06:10 +0100 Subject: [PATCH 1/2] Revert "Temporarily pin Flatcar version to v1.26.10" --- test/e2e/config/azure-dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/config/azure-dev.yaml b/test/e2e/config/azure-dev.yaml index 9c018e1400f..5e5ef66c0d3 100644 --- a/test/e2e/config/azure-dev.yaml +++ b/test/e2e/config/azure-dev.yaml @@ -170,7 +170,7 @@ variables: AKS_KUBERNETES_VERSION: "latest" AKS_KUBERNETES_VERSION_UPGRADE_FROM: "latest-1" KUBERNETES_VERSION: "${KUBERNETES_VERSION:-v1.26.6}" # temporarily pin to v1.26.6 to workaround Calico dual stack issues - FLATCAR_KUBERNETES_VERSION: "${FLATCAR_KUBERNETES_VERSION:-v1.26.10}" # temporarily pin to v1.26.10 to workaround Flatcar image issues + FLATCAR_KUBERNETES_VERSION: "${FLATCAR_KUBERNETES_VERSION:-stable-1.26}" FLATCAR_VERSION: "${FLATCAR_VERSION:-latest}" ETCD_VERSION_UPGRADE_TO: "3.5.4-0" COREDNS_VERSION_UPGRADE_TO: "v1.9.3" From 97720bec32a5b1638ca4ee3d5af3951ea71e794e Mon Sep 17 00:00:00 2001 From: Mateusz Gozdek Date: Tue, 26 Dec 2023 17:54:24 +0100 Subject: [PATCH 2/2] test/e2e: select last Flatcar version, not first found As we want to use latest possible. Signed-off-by: Mateusz Gozdek --- test/e2e/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/helpers.go b/test/e2e/helpers.go index 89aaf3a77a6..14172c7731d 100644 --- a/test/e2e/helpers.go +++ b/test/e2e/helpers.go @@ -751,7 +751,7 @@ func resolveFlatcarVersion(config *clusterctl.E2EConfig, versions semver.Version if version == "latest" { semver.Sort(versions) - version = versions[0].String() + version = versions[len(versions)-1].String() } resolveVariable(config, varName, version)