Commit fb51abb5 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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
parents 080db405 2bc88a81
...@@ -35,15 +35,6 @@ package_group( ...@@ -35,15 +35,6 @@ package_group(
) )
package_group( package_group(
name = "COMMON_release",
packages = [
"//build",
"//build/debs",
"//build/rpms",
],
)
package_group(
name = "COMMON_testing", name = "COMMON_testing",
packages = [ packages = [
"//hack", "//hack",
...@@ -395,5 +386,5 @@ filegroup( ...@@ -395,5 +386,5 @@ filegroup(
name = "all-srcs", name = "all-srcs",
srcs = [":package-srcs"], srcs = [":package-srcs"],
tags = ["automanaged"], tags = ["automanaged"],
visibility = ["//build/visible_to:COMMON_release"], visibility = ["//visibility:public"],
) )
...@@ -19,9 +19,7 @@ go_binary( ...@@ -19,9 +19,7 @@ go_binary(
], ],
}), }),
library = ":go_default_library", library = ":go_default_library",
visibility = [ visibility = ["//visibility:public"],
"//build/visible_to:COMMON_release",
],
x_defs = version_x_defs(), x_defs = version_x_defs(),
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment