mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
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:
commit
fb51abb562
@ -34,15 +34,6 @@ package_group(
|
|||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
package_group(
|
|
||||||
name = "COMMON_release",
|
|
||||||
packages = [
|
|
||||||
"//build",
|
|
||||||
"//build/debs",
|
|
||||||
"//build/rpms",
|
|
||||||
],
|
|
||||||
)
|
|
||||||
|
|
||||||
package_group(
|
package_group(
|
||||||
name = "COMMON_testing",
|
name = "COMMON_testing",
|
||||||
packages = [
|
packages = [
|
||||||
@ -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(
|
|||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
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(),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user