diff --git a/build/root/BUILD.root b/build/root/BUILD.root index 85212cb607f..a5bc4a59102 100644 --- a/build/root/BUILD.root +++ b/build/root/BUILD.root @@ -1,12 +1,15 @@ +# gazelle:build_file_name BUILD,BUILD.bazel + # gazelle:exclude _artifacts # gazelle:exclude _gopath # gazelle:exclude _output # gazelle:exclude _tmp + # gazelle:prefix k8s.io/kubernetes # Disable proto rules, since the Go sources are currently generated by # hack/update-generated-protobuf.sh and checked into the repo. -# gazelle:proto disable +# gazelle:proto disable_global package(default_visibility = ["//visibility:public"]) diff --git a/hack/update-bazel.sh b/hack/update-bazel.sh index 64cc801ddbd..fe3d5cd49e8 100755 --- a/hack/update-bazel.sh +++ b/hack/update-bazel.sh @@ -41,7 +41,6 @@ if ! grep -q "# gazelle:importmap_prefix" "${KUBE_ROOT}/vendor/BUILD"; then fi gazelle fix \ - -build_file_name=BUILD,BUILD.bazel \ -external=vendored \ -mode=fix \ -repo_root "${KUBE_ROOT}" \