Use the official kind image for testing against Kubernetes v1.22

Signed-off-by: irbekrm <irbekrm@gmail.com>
This commit is contained in:
irbekrm
2021-08-11 15:06:53 +01:00
parent 4f61d405a6
commit 5f1d5df792
+1 -3
View File
@@ -48,9 +48,7 @@ elif [[ "$K8S_VERSION" =~ 1\.20 ]] ; then
elif [[ "$K8S_VERSION" =~ 1\.21 ]] ; then
KIND_IMAGE_SHA="sha256:fae9a58f17f18f06aeac9772ca8b5ac680ebbed985e266f711d936e91d113bad"
elif [[ "$K8S_VERSION" =~ 1\.22 ]] ; then
KIND_IMAGE_SHA="sha256:2e335fce9c7b1d9be39042e46dc604264143c349f56cd7f566b03d0ccb7bd5e2"
# Override KIND_IMAGE_REPO set in devel/lib/lib.sh till there is a 1.22 image in kindest/node.
KIND_IMAGE_REPO="eu.gcr.io/jetstack-build-infra-images/kind"
KIND_IMAGE_SHA="sha256:f97edf7f7ed53c57762b24f90a34fad101386c5bd4d93baeb45449557148c717"
else
echo "Unrecognised Kubernetes version '${K8S_VERSION}'! Aborting..."
exit 1