From cc68528d110ab3d0b57e8639da7eb04e223890e1 Mon Sep 17 00:00:00 2001 From: apostasie Date: Fri, 18 Oct 2024 13:09:33 -0700 Subject: [PATCH] Enhance debugability for kubernetes rig Signed-off-by: apostasie --- hack/build-integration-kubernetes.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hack/build-integration-kubernetes.sh b/hack/build-integration-kubernetes.sh index e41f13fcf7f..7fcea04c5cb 100755 --- a/hack/build-integration-kubernetes.sh +++ b/hack/build-integration-kubernetes.sh @@ -104,8 +104,10 @@ main(){ # Hack to get go into kind control plane exec::nerdctl rm -f go-kind 2>/dev/null || true - exec::nerdctl run -d --name go-kind golang:"$GO_VERSION" sleep Inf + exec::nerdctl pull --quiet golang:"$GO_VERSION" + exec::nerdctl run -d --pull never --name go-kind golang:"$GO_VERSION" sleep Inf exec::nerdctl cp go-kind:/usr/local/go /tmp/go + exec::nerdctl rm -f go-kind # Create fresh cluster log::info "Creating new cluster"