From 6a1a4b9526d95e12f30fa1308ad9e838065690da Mon Sep 17 00:00:00 2001 From: Marko Vukovic Date: Wed, 27 Jul 2022 16:55:44 -0700 Subject: [PATCH] Enable test execution on arm64 Kubebuilder tools version 1.21.2 previously used does not work on arm64 (specifically Raspberry PI). Interestingly, the latest (as of the time of this commit) version 1.24.2 does not work either. An error message like this causes the test to fail: apiserver.go:43: failed to start control plane: unable to start control plane itself: failed to start the controlplane. retried 5 times: timeout waiting for process kube-apiserver to start However, with 1.24.1 the test "mostly" passes, although it may occasionally fail. It might be that Raspberry PI is too slow and something times out. Signed-off-by: Marko Vukovic --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9c243ad..1a3ebe3 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ IMAGE_TAG := "latest" OUT := $(shell pwd)/_out -KUBE_VERSION=1.21.2 +KUBE_VERSION=1.24.1 $(shell mkdir -p "$(OUT)") export TEST_ASSET_ETCD=_test/kubebuilder/bin/etcd