Add kubectl-convert to client-binaries

This commit is contained in:
Maciej Szulik 2021-02-19 15:51:28 +01:00
parent b0c4f5c6fa
commit 0a0c80c553
No known key found for this signature in database
GPG Key ID: F15E55D276FA84C4
3 changed files with 3 additions and 1 deletions

View File

@ -124,6 +124,7 @@ release_filegroup(
name = "client-targets",
conditioned_srcs = for_platforms(for_client = [
"//cmd/kubectl",
"//cmd/kubectl-convert",
]),
)

View File

@ -6,7 +6,7 @@ load(
load("//staging/src/k8s.io/component-base/version:def.bzl", "version_x_defs")
go_binary(
name = "kubectl",
name = "kubectl-convert",
embed = [":go_default_library"],
pure = "on",
visibility = ["//visibility:public"],

View File

@ -248,6 +248,7 @@ kube::golang::setup_platforms
# If you update this list, please also update build/BUILD.
readonly KUBE_CLIENT_TARGETS=(
cmd/kubectl
cmd/kubectl-convert
)
readonly KUBE_CLIENT_BINARIES=("${KUBE_CLIENT_TARGETS[@]##*/}")
readonly KUBE_CLIENT_BINARIES_WIN=("${KUBE_CLIENT_BINARIES[@]/%/.exe}")