mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-17 15:05:10 +00:00
Credential provider is useful without the v1 API, move the only dependency out so that we can more easily move credential provider to a utility library in the future (other callers besides Kubelet may need to load pull secrets like Docker).
27 lines
646 B
Python
27 lines
646 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["secrets.go"],
|
|
importpath = "k8s.io/kubernetes/pkg/credentialprovider/secrets",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//pkg/credentialprovider:go_default_library",
|
|
"//vendor/k8s.io/api/core/v1:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
)
|