mirror of
https://github.com/kubernetes/sample-controller.git
synced 2025-01-20 16:42:51 +08:00
59834affa2
Automatic merge from submit-queue (batch tested with PRs 56128, 56004, 56083, 55833, 56042). 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>. Graduate the admission and admissionregistration (webhook part) API to v1beta1 ref: kubernetes/features#492 Most changes are mechanical. Please take a look at the commit message to see if the commit is worth reviewing. ```release-note Action required: The `admission/v1alpha1` API has graduated to `v1beta1`. Please delete your existing webhooks before upgrading the cluster, and update your admission webhooks to use the latest API, because the API has backwards incompatible changes. The webhook registration related part of the `admissionregistration` API has graduated to `v1beta1`. Please delete your existing configurations before upgrading the cluster, and update your configuration file to use the latest API. ``` Kubernetes-commit: 4cafc5459bf987d2476efd0a4c17158a158887a3
94 lines
5.5 KiB
Python
94 lines
5.5 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"clientset.go",
|
|
"doc.go",
|
|
"import.go",
|
|
],
|
|
importpath = "k8s.io/client-go/kubernetes",
|
|
deps = [
|
|
"//vendor/github.com/golang/glog:go_default_library",
|
|
"//vendor/k8s.io/client-go/discovery:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/apps/v1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta2:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/authentication/v1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/authentication/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/authorization/v1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/batch/v1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/batch/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/batch/v2alpha1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/networking/v1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/policy/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/rbac/v1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/rbac/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/settings/v1alpha1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/storage/v1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/storage/v1alpha1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/client-go/rest:go_default_library",
|
|
"//vendor/k8s.io/client-go/util/flowcontrol:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/fake:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/scheme:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/apps/v1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/apps/v1beta1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/apps/v1beta2:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1beta1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/batch/v1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/batch/v1beta1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1beta1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/core/v1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/networking/v1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/policy/v1beta1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1beta1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/settings/v1alpha1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/storage/v1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/storage/v1alpha1:all-srcs",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|