mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-21 22:49:31 +00:00
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>. openapi: Validate unregistered type, if they can be found **What this PR does / why we need it**: Types that are not registered/hard-coded in kubectl won't be validated, even if they could because they are defined in openapi. If they are neither registered nor in openapi, then skip validation. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes nothing **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
63 lines
2.1 KiB
Python
63 lines
2.1 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"doc.go",
|
|
"utils.go",
|
|
],
|
|
deps = [
|
|
"//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//test/integration/apiserver:all-srcs",
|
|
"//test/integration/auth:all-srcs",
|
|
"//test/integration/client:all-srcs",
|
|
"//test/integration/configmap:all-srcs",
|
|
"//test/integration/defaulttolerationseconds:all-srcs",
|
|
"//test/integration/deployment:all-srcs",
|
|
"//test/integration/etcd:all-srcs",
|
|
"//test/integration/evictions:all-srcs",
|
|
"//test/integration/examples:all-srcs",
|
|
"//test/integration/framework:all-srcs",
|
|
"//test/integration/garbagecollector:all-srcs",
|
|
"//test/integration/master:all-srcs",
|
|
"//test/integration/metrics:all-srcs",
|
|
"//test/integration/objectmeta:all-srcs",
|
|
"//test/integration/openshift:all-srcs",
|
|
"//test/integration/pods:all-srcs",
|
|
"//test/integration/quota:all-srcs",
|
|
"//test/integration/replicaset:all-srcs",
|
|
"//test/integration/replicationcontroller:all-srcs",
|
|
"//test/integration/scheduler:all-srcs",
|
|
"//test/integration/scheduler_perf:all-srcs",
|
|
"//test/integration/secrets:all-srcs",
|
|
"//test/integration/serviceaccount:all-srcs",
|
|
"//test/integration/storageclasses:all-srcs",
|
|
"//test/integration/ttlcontroller:all-srcs",
|
|
"//test/integration/volume:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|