2018-01-09 18:57:14 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2018-03-06 22:33:18 +00:00
|
|
|
load("@io_kubernetes_build//defs:pkg.bzl", "pkg_tar")
|
2018-01-09 18:57:14 +00:00
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "addon-srcs",
|
|
|
|
srcs = glob(
|
|
|
|
[
|
|
|
|
"**/*.json",
|
|
|
|
"**/*.yaml",
|
|
|
|
"**/*.yaml.in",
|
|
|
|
],
|
|
|
|
exclude = ["**/*demo*/**"],
|
|
|
|
),
|
|
|
|
)
|
|
|
|
|
|
|
|
pkg_tar(
|
|
|
|
name = "addons",
|
2018-03-06 22:33:18 +00:00
|
|
|
srcs = [
|
2018-01-09 18:57:14 +00:00
|
|
|
":addon-srcs",
|
|
|
|
],
|
2018-03-06 22:33:18 +00:00
|
|
|
extension = "tar.gz",
|
2018-01-09 18:57:14 +00:00
|
|
|
mode = "0644",
|
|
|
|
strip_prefix = ".",
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "package-srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "all-srcs",
|
|
|
|
srcs = [
|
|
|
|
":package-srcs",
|
|
|
|
"//cluster/addons/fluentd-elasticsearch/es-image:all-srcs",
|
|
|
|
],
|
|
|
|
tags = ["automanaged"],
|
|
|
|
)
|