Closed oomichi closed 4 years ago
# If KUBECTL_PATH isn't set, gather up the list of likely places and use ls
# to find the latest one.
if [[ -z "${KUBECTL_PATH:-}" ]]; then
kubectl=$( get_bin "kubectl" "cmd/kubectl" )
if [[ ! -x "$kubectl" ]]; then
print_error "kubectl"
exit 1
fi
Succeeded based on https://github.com/oomichi/try-kubernetes#build-e2e-test-binary