diff --git a/build/root/.kazelcfg.json b/build/root/.kazelcfg.json index 3d5d1a1edb7..ead969b479e 100644 --- a/build/root/.kazelcfg.json +++ b/build/root/.kazelcfg.json @@ -1,7 +1,8 @@ { "GoPrefix": "k8s.io/kubernetes", "SkippedPaths": [ - "^_.*" + "^_.*", + "^third_party/etcd.*" ], "AddSourcesRules": true, "K8sOpenAPIGen": true diff --git a/third_party/BUILD b/third_party/BUILD index eb6118c5b2c..2beec65ec66 100644 --- a/third_party/BUILD +++ b/third_party/BUILD @@ -4,8 +4,13 @@ licenses(["notice"]) filegroup( name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], + srcs = glob( + ["**"], + exclude = [ + "etcd*/**", + "etcd*.tar.gz", + ], + ), visibility = ["//visibility:private"], )