penguin/webhook-freedns

freedns webhook for cert-manager

commit 6a1a4b9526d95e12f30fa1308ad9e838065690da

authorMarko Vukovic <anonsoftware@gmail.com>
date2022-07-27T23:55:44Z
subjectEnable test execution on arm64
commit 6a1a4b9526d95e12f30fa1308ad9e838065690da
Author: Marko Vukovic <anonsoftware@gmail.com>
Date:   2022-07-27T23:55:44Z

    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 <anonsoftware@gmail.com>
---
 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