From b5c58343a1ecb0613a06c19158121921328ec5c5 Mon Sep 17 00:00:00 2001 From: Hansini Karunarathne <107214435+hansinikarunarathne@users.noreply.github.com> Date: Mon, 26 Aug 2024 13:31:01 +0530 Subject: [PATCH] =?UTF-8?q?Change=20kind=20version=20and=20kubernetes=20ve?= =?UTF-8?q?rsion=20to=20support=20networkpolicies=E2=80=A6=20(#2843)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: hansinikarunarathne --- README.md | 2 +- .../install_KinD_create_KinD_cluster_install_kustomize.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 46ba457a36..0d7656cba8 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,7 @@ kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane - image: kindest/node:v1.29.4 + image: kindest/node:v1.31.0@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865 kubeadmConfigPatches: - | kind: ClusterConfiguration diff --git a/tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh b/tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh index 59e01d2445..b38efa33a4 100755 --- a/tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh +++ b/tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh @@ -20,7 +20,7 @@ if [ -e /swapfile ]; then fi { - curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-amd64 + curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.24.0/kind-linux-amd64 chmod +x ./kind sudo mv kind /usr/local/bin } || { echo "Failed to install KinD"; exit 1; } @@ -49,11 +49,11 @@ kubeadmConfigPatches: \"service-account-signing-key-file\": \"/etc/kubernetes/pki/sa.key\" nodes: - role: control-plane - image: kindest/node:v1.29.4@sha256:3abb816a5b1061fb15c6e9e60856ec40d56b7b52bcea5f5f1350bc6e2320b6f8 + image: kindest/node:v1.31.0@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865 - role: worker - image: kindest/node:v1.29.4@sha256:3abb816a5b1061fb15c6e9e60856ec40d56b7b52bcea5f5f1350bc6e2320b6f8 + image: kindest/node:v1.31.0@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865 - role: worker - image: kindest/node:v1.29.4@sha256:3abb816a5b1061fb15c6e9e60856ec40d56b7b52bcea5f5f1350bc6e2320b6f8 + image: kindest/node:v1.31.0@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865 " | kind create cluster --config -