kubectl: removes pkg/version dependency

This commit is contained in:
Sean Sullivan
2019-03-13 15:18:47 -07:00
parent 7131617d0c
commit d4d6e19f1e
11 changed files with 178 additions and 5 deletions

View File

@@ -142,6 +142,7 @@ kube::version::ldflag() {
# If you update these, also update the list pkg/version/def.bzl.
echo "-X '${KUBE_GO_PACKAGE}/pkg/version.${key}=${val}'"
echo "-X '${KUBE_GO_PACKAGE}/vendor/k8s.io/client-go/pkg/version.${key}=${val}'"
echo "-X '${KUBE_GO_PACKAGE}/pkg/kubectl/version.${key}=${val}'"
}
# Prints the value that needs to be passed to the -ldflags parameter of go build