mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-26 19:35:10 +00:00
Centralizes the following images into agnhost: - dnsutils - mounttest - resource-consumer-controller - test-webserver Adds CoreDNS to agnhost image, which can be used in some DNS related tests (dnsmasq is Linux-only). Adds Windows support to mounttest. Bumps agnhost version to 2.9. Bumps kitten version to 1.1. Bumps nautilus version to 1.1.
30 lines
667 B
Python
30 lines
667 B
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["controller.go"],
|
|
importpath = "k8s.io/kubernetes/test/images/agnhost/resource-consumer-controller",
|
|
deps = [
|
|
"//test/images/resource-consumer/common:go_default_library",
|
|
"//vendor/github.com/spf13/cobra:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
)
|