...
1load("@aspect_bazel_lib//lib:write_source_files.bzl", "write_source_file")
2load("//hack/build/rules/kustomize:kustomization.bzl", "kustomization")
3
4package(default_visibility = ["//visibility:public"])
5
6kustomization(
7 name = "fluent-operator",
8 srcs = [
9 "clusterrole-update.yaml",
10 "delete-deployment.yaml",
11 "manifests.yaml",
12 ],
13 kustomization_yaml = "kustomization.yaml",
14 visibility = ["//visibility:public"],
15)
16
17write_source_file(
18 name = "fluent-operator-manifests",
19 in_file = "@fluent-operator-repo//file",
20 out_file = "manifests.yaml",
21)
View as plain text