permit self-assignment line for clarity and also fear of touching get-kube.sh

This commit is contained in:
Benjamin Elder 2022-10-20 16:19:13 -07:00
parent bf3df26efd
commit 64ed5964d5

View File

@ -190,6 +190,7 @@ if [[ -z "${KUBERNETES_SKIP_RELEASE_VALIDATION-}" ]]; then
if [[ ${KUBE_VERSION} =~ ${KUBE_RELEASE_VERSION_REGEX} ]]; then
# Use KUBERNETES_RELEASE_URL for Releases and Pre-Releases
# ie. 1.18.0 or 1.19.0-beta.0
# shellcheck disable=SC2269 # this line is a noop but it helps with reading
KUBERNETES_RELEASE_URL="${KUBERNETES_RELEASE_URL}"
elif [[ ${KUBE_VERSION} =~ ${KUBE_CI_VERSION_REGEX} ]]; then
# Override KUBERNETES_RELEASE_URL to point to the CI bucket;