add extra locations to check for release-tars

This commit is contained in:
upodroid 2023-12-17 15:36:33 +00:00
parent e6acd1caf5
commit 1ee8183903

View File

@ -308,6 +308,8 @@ function find-tar() {
locations=(
"${KUBE_ROOT}/node/${tarball}"
"${KUBE_ROOT}/server/${tarball}"
"${KUBE_ROOT}/kubernetes/node/${tarball}"
"${KUBE_ROOT}/kubernetes/server/${tarball}"
"${KUBE_ROOT}/_output/release-tars/${tarball}"
)
location=$( (ls -t "${locations[@]}" 2>/dev/null || true) | head -1 )