Merge pull request #52685 from ixdy/kubectl-binary-public-visibility

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

bazel: make //cmd/kubectl:kubectl binary publicly visible

**What this PR does / why we need it**: making the `kubectl` binary visible to the release rules only seems unnecessarily restrictive (x-ref https://github.com/bazelbuild/bazel/issues/3744) - I think making this publicly visible should be fine.

**Release note**:

```release-note
NONE
```

/assign @monopole 
cc @achew22
This commit is contained in:
Kubernetes Submit Queue 2017-10-02 19:11:41 -07:00 committed by GitHub
commit fb51abb562
2 changed files with 2 additions and 13 deletions

View File

@ -34,15 +34,6 @@ package_group(
],
)
package_group(
name = "COMMON_release",
packages = [
"//build",
"//build/debs",
"//build/rpms",
],
)
package_group(
name = "COMMON_testing",
packages = [
@ -395,5 +386,5 @@ filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//build/visible_to:COMMON_release"],
visibility = ["//visibility:public"],
)

View File

@ -19,9 +19,7 @@ go_binary(
],
}),
library = ":go_default_library",
visibility = [
"//build/visible_to:COMMON_release",
],
visibility = ["//visibility:public"],
x_defs = version_x_defs(),
)