diff --git a/hack/lib/version.sh b/hack/lib/version.sh index 3d0646b1c59..8387144206d 100644 --- a/hack/lib/version.sh +++ b/hack/lib/version.sh @@ -147,7 +147,7 @@ kube::version::load_version_vars() { # Prints the value that needs to be passed to the -ldflags parameter of go build # in order to set the Kubernetes based on the git tree status. # IMPORTANT: if you update any of these, also update the lists in -# pkg/version/def.bzl and hack/print-workspace-status.sh. +# hack/print-workspace-status.sh. kube::version::ldflags() { kube::version::get_version_vars @@ -155,7 +155,6 @@ kube::version::ldflags() { function add_ldflag() { local key=${1} local val=${2} - # If you update these, also update the list component-base/version/def.bzl. ldflags+=( "-X '${KUBE_GO_PACKAGE}/vendor/k8s.io/client-go/pkg/version.${key}=${val}'" "-X '${KUBE_GO_PACKAGE}/vendor/k8s.io/component-base/version.${key}=${val}'" diff --git a/hack/print-workspace-status.sh b/hack/print-workspace-status.sh index e4b024100da..647a352442d 100755 --- a/hack/print-workspace-status.sh +++ b/hack/print-workspace-status.sh @@ -35,7 +35,6 @@ kube::version::get_version_vars # Stamped rules will be retriggered by changes to stable-status.txt, but not by # changes to volatile-status.txt. # IMPORTANT: the camelCase vars should match the lists in hack/lib/version.sh -# and staging/src/k8s.io/kubectl/pkg/version/def.bzl. cat <