
Bazel walks through the Kubernetes repo to add vendor targets for OpenAPI generation. `SkippedPaths` is used to skip the paths such as `_examples`. However, it doesn't work as desired, because it matches for `_` at the beginning of the path, so paths like `vendor\..\_example` are picked up by the generator. This PR fixes this.
11 lines
152 B
JSON
11 lines
152 B
JSON
{
|
|
"GoPrefix": "k8s.io/kubernetes",
|
|
"SkippedPaths": [
|
|
"^_.*",
|
|
"/_",
|
|
"^third_party/etcd.*"
|
|
],
|
|
"AddSourcesRules": true,
|
|
"K8sOpenAPIGen": true
|
|
}
|