Skip to content

Commit 52a84b0

Browse files
authored
support for kind 0.29 (#356)
1 parent 2e413bc commit 52a84b0

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

hack/e2e-util.sh

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ function update_test_host {
6666
which kind >/dev/null 2>&1
6767
if [ $? -ne 0 ]
6868
then
69-
# Download kind binary (0.28.0)
70-
echo "Downloading and installing kind v0.28.0...."
71-
sudo curl -o /usr/local/bin/kind -L https://github.com/kubernetes-sigs/kind/releases/download/v0.28.0/kind-linux-${arch} && \
69+
# Download kind binary (0.29.0)
70+
echo "Downloading and installing kind v0.29.0...."
71+
sudo curl -o /usr/local/bin/kind -L https://github.com/kubernetes-sigs/kind/releases/download/v0.29.0/kind-linux-${arch} && \
7272
sudo chmod +x /usr/local/bin/kind
7373
[ $? -ne 0 ] && echo "Failed to download kind" && exit 1
7474
echo "Kind was sucessfully installed."
@@ -163,6 +163,28 @@ function kind_up_cluster {
163163
KIND_ACTUAL_VERSION=$(kind version | awk '/ /{print $2}')
164164
case $KIND_ACTUAL_VERSION in
165165

166+
167+
v0.29.0)
168+
case $KIND_K8S_VERSION in
169+
1.30)
170+
KIND_NODE_TAG=${KIND_NODE_TAG:="v1.30.13@sha256:397209b3d947d154f6641f2d0ce8d473732bd91c87d9575ade99049aa33cd648"}
171+
;;
172+
1.31)
173+
KIND_NODE_TAG=${KIND_NODE_TAG:="v1.31.9@sha256:b94a3a6c06198d17f59cca8c6f486236fa05e2fb359cbd75dabbfc348a10b211"}
174+
;;
175+
1.32)
176+
KIND_NODE_TAG=${KIND_NODE_TAG:="v1.32.5@sha256:e3b2327e3a5ab8c76f5ece68936e4cafaa82edf58486b769727ab0b3b97a5b0d"}
177+
;;
178+
1.33)
179+
KIND_NODE_TAG=${KIND_NODE_TAG:="v1.33.1@sha256:050072256b9a903bd914c0b2866828150cb229cea0efe5892e2b644d5dd3b34f"}
180+
;;
181+
*)
182+
echo "Unexpected kubernetes version: $KIND_K8S__VERSION"
183+
exit 1
184+
;;
185+
esac
186+
;;
187+
166188
v0.28.0)
167189
case $KIND_K8S_VERSION in
168190
1.30)

0 commit comments

Comments
 (0)