From 718ee5d8bbe9ad137ebb95b5e4d0d06d02aabe97 Mon Sep 17 00:00:00 2001 From: Jeffrey Ying Date: Fri, 21 Nov 2025 13:13:11 -0500 Subject: [PATCH] Modify KUBELET_BINARY assignment to select first result --- experiment/compatibility-versions/kind-upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experiment/compatibility-versions/kind-upgrade.sh b/experiment/compatibility-versions/kind-upgrade.sh index 624d35a57224..ecb6ac36a1f1 100755 --- a/experiment/compatibility-versions/kind-upgrade.sh +++ b/experiment/compatibility-versions/kind-upgrade.sh @@ -112,7 +112,7 @@ usage() # Main build_docker IMAGES_PATH="${KUBE_ROOT}/_output/release-images/amd64" -KUBELET_BINARY=$(find ${KUBE_ROOT}/_output/ -type f -name kubelet) +KUBELET_BINARY=$(find ${KUBE_ROOT}/_output/ -type f -name kubelet | head -n 1) if [[ "$UPDATE_CONTROL_PLANE" == "true" ]]; then update_control_plane "true"