From 7eeecf64773aa0d95d4cc04cff1f6ec8326cb9f2 Mon Sep 17 00:00:00 2001 From: Heba Elayoty Date: Tue, 17 Jan 2023 18:07:31 -0800 Subject: [PATCH] Fixinate the k8s version to > 1.24 Signed-off-by: Heba Elayoty --- hack/e2e/aks-addon.sh | 2 ++ hack/e2e/aks.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/hack/e2e/aks-addon.sh b/hack/e2e/aks-addon.sh index 128269d5..638356b3 100755 --- a/hack/e2e/aks-addon.sh +++ b/hack/e2e/aks-addon.sh @@ -109,6 +109,7 @@ cluster_subnet_id="$(az network vnet subnet show \ if [ "$E2E_TARGET" = "pr" ]; then az aks create \ -g "$RESOURCE_GROUP" \ + --kubernetes-version "1.23.12" \ -l "$LOCATION" \ -c "$NODE_COUNT" \ --node-vm-size standard_d8_v3 \ @@ -123,6 +124,7 @@ else az aks create \ -g "$RESOURCE_GROUP" \ + --kubernetes-version "1.23.12" \ -l "$LOCATION" \ -c "$NODE_COUNT" \ --node-vm-size standard_d8_v3 \ diff --git a/hack/e2e/aks.sh b/hack/e2e/aks.sh index fc65b9f0..dbd7b10d 100755 --- a/hack/e2e/aks.sh +++ b/hack/e2e/aks.sh @@ -117,6 +117,7 @@ node_identity_client_id="$(az identity create --name "${RESOURCE_GROUP}-aks-iden if [ "$E2E_TARGET" = "pr" ]; then az aks create \ -g "$RESOURCE_GROUP" \ + --kubernetes-version "1.23.12" \ -l "$LOCATION" \ -c "$NODE_COUNT" \ --node-vm-size standard_d8_v3 \ @@ -133,6 +134,7 @@ else az aks create \ -g "$RESOURCE_GROUP" \ + --kubernetes-version "1.23.12" \ -l "$LOCATION" \ -c "$NODE_COUNT" \ --node-vm-size standard_d8_v3 \