From b441dc0ba7b6b69fdc947b1cc14b6093ddee72af Mon Sep 17 00:00:00 2001 From: Billy Lynch Date: Tue, 12 Sep 2023 12:31:55 -0400 Subject: [PATCH] Add k8s 1.28 Signed-off-by: Billy Lynch --- actions/setup/action.yml | 2 +- hack/setup-kind.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/actions/setup/action.yml b/actions/setup/action.yml index 127aa522a..4ae2a95d3 100644 --- a/actions/setup/action.yml +++ b/actions/setup/action.yml @@ -47,7 +47,7 @@ inputs: required: true default: 'cluster.local' k8s-version: - description: 'kubernetes version to install (v1.23.x, v1.24.x, v1.25.x, v1.26.x), default: v1.24.x' + description: 'kubernetes version to install (v1.23.x, v1.24.x, v1.25.x, v1.26.x, v1.27.x, v1.28.x), default: v1.24.x' required: true default: 'v1.24.x' runs: diff --git a/hack/setup-kind.sh b/hack/setup-kind.sh index c9c6acdad..d28394997 100755 --- a/hack/setup-kind.sh +++ b/hack/setup-kind.sh @@ -92,6 +92,11 @@ case ${K8S_VERSION} in KIND_IMAGE_SHA="sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72" KIND_IMAGE=kindest/node:${K8S_VERSION}@${KIND_IMAGE_SHA} ;; + v1.28.x) + K8S_VERSION="1.28.0" + KIND_IMAGE_SHA="sha256:b7a4cad12c197af3ba43202d3efe03246b3f0793f162afb40a33c923952d5b31" + KIND_IMAGE=kindest/node:${K8S_VERSION}@${KIND_IMAGE_SHA} + ;; *) echo "Unsupported version: ${K8S_VERSION}"; exit 1 ;; esac