Merge branch 'main' into prepare-supervisor-on-kind.sh

This commit is contained in:
Ryan Richard 2021-03-31 13:47:13 -07:00 committed by GitHub
commit 1817d6c751
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,9 +55,11 @@ kube::version::get_version_vars() {
else
# KUBE_GIT_VERSION was not supplied
KUBE_GIT_VERSION='?.?.?'
KUBE_GIT_MAJOR='?'
KUBE_GIT_MINOR='?'
# These values need to pass the validation in k8s.io/component-base/metrics:
# https://github.com/kubernetes/component-base/blob/v0.20.5/metrics/version_parser.go#L28-L50
KUBE_GIT_VERSION='0.0.0'
KUBE_GIT_MAJOR='0'
KUBE_GIT_MINOR='0'
fi
fi
}