update documentation for metrics with deprecated version and version of k8s

Change-Id: Ia04d21f6644e7fc498304c0035d6f1ae58766a91
This commit is contained in:
Han Kang
2022-11-03 14:54:26 -07:00
parent 7a46516369
commit dfff6e4364
6 changed files with 825 additions and 470 deletions

View File

@@ -24,6 +24,12 @@ set -o pipefail
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
source "${KUBE_ROOT}/test/instrumentation/stability-utils.sh"
source "${KUBE_ROOT}/hack/lib/version.sh"
# extract version env variables so we can pass them in
kube::version::get_version_vars
# update the documented list of metrics
kube::update::documentation::list
kube::update::documentation
# now write the actual documentation file
kube::update::documentation $KUBE_GIT_MAJOR $KUBE_GIT_MINOR