2019-01-12 04:58:27 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
load(
|
|
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
|
|
"go_library",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["config.go"],
|
|
|
|
importpath = "k8s.io/kubernetes/pkg/kubeapiserver/authorizer",
|
|
|
|
deps = [
|
|
|
|
"//pkg/auth/authorizer/abac:go_default_library",
|
|
|
|
"//pkg/auth/nodeidentifier:go_default_library",
|
|
|
|
"//pkg/kubeapiserver/authorizer/modes:go_default_library",
|
|
|
|
"//plugin/pkg/auth/authorizer/node:go_default_library",
|
|
|
|
"//plugin/pkg/auth/authorizer/rbac:go_default_library",
|
|
|
|
"//plugin/pkg/auth/authorizer/rbac/bootstrappolicy:go_default_library",
|
2020-03-26 21:07:15 +00:00
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/net:go_default_library",
|
2020-12-01 01:06:26 +00:00
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//staging/src/k8s.io/apiserver/pkg/authorization/authorizer:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/authorization/authorizerfactory:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/authorization/union:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/informers:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "package-srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "all-srcs",
|
|
|
|
srcs = [
|
|
|
|
":package-srcs",
|
|
|
|
"//pkg/kubeapiserver/authorizer/modes:all-srcs",
|
|
|
|
],
|
|
|
|
tags = ["automanaged"],
|
|
|
|
)
|