1load("//hack/tools/controller-gen:controller-gen.bzl", "gen_crds", "gen_rbac")
2
3gen_rbac(
4 name = "gen_rbac",
5 outpath_relative_to_repo_root = True,
6 pkg = "pkg/f8n/warehouse/k8s/controllers/lumperctl",
7 rbac_out_path = "config/pallets/f8n/warehouse/lumperctl/base/rbac",
8 role_name = "lumperctl",
9)
10
11gen_crds(
12 name = "gen_crds",
13 crd_out_path = "config/pallets/f8n/warehouse/lumperctl/base/crds",
14 outpath_relative_to_repo_root = True,
15 pkg = "pkg/f8n/warehouse/k8s/apis",
16)
17
18gen_crds(
19 name = "gen_crds_sequel",
20 crd_out_path = "config/pallets/edge/sequel/base/crds",
21 outpath_relative_to_repo_root = True,
22 pkg = "pkg/edge/apis/sequel/k8s/v1alpha2",
23)
24
25gen_rbac(
26 name = "gen_rbac_syncedobjectctl",
27 outpath_relative_to_repo_root = True,
28 pkg = "pkg/edge/controllers/syncedobject",
29 rbac_out_path = "config/pallets/edge/syncedobjectctl/base/rbac",
30 role_name = "syncedobjectctl",
31)
32
33gen_crds(
34 name = "gen_crd_syncedobject",
35 crd_out_path = "config/pallets/edge/syncedobjectctl/base/crds",
36 outpath_relative_to_repo_root = True,
37 pkg = "pkg/edge/apis/syncedobject/apis/v1alpha1",
38)
39
40gen_rbac(
41 name = "gen_rbac_prometheusctl",
42 outpath_relative_to_repo_root = True,
43 pkg = "pkg/edge/monitoring/k8s/controllers/prometheusctl",
44 rbac_out_path = "config/pallets/o11y/prometheus-stackdriver-controller/rbac",
45 role_name = "prometheus-stackdriver-controller",
46)
47
48gen_rbac(
49 name = "gen_rbac_sequel",
50 outpath_relative_to_repo_root = True,
51 pkg = "pkg/edge/controllers/sequel",
52 rbac_out_path = "config/pallets/edge/sequel/base/rbac",
53 role_name = "sequel",
54)
55
56gen_crds(
57 name = "gen_crd_sequel",
58 crd_out_path = "config/pallets/edge/sequel/base/crds",
59 outpath_relative_to_repo_root = True,
60 pkg = "pkg/edge/apis/sequel/k8s/v1alpha2",
61)
62
63gen_rbac(
64 name = "gen_rbac_linkerd",
65 outpath_relative_to_repo_root = True,
66 pkg = "pkg/edge/linkerd/k8s/controllers",
67 rbac_out_path = "config/pallets/linkerdctl/controller/base",
68 role_name = "linkerdctl",
69)
70
71gen_crds(
72 name = "gen_crds_linkerd",
73 crd_out_path = "config/pallets/linkerdctl/controller/base/crds",
74 outpath_relative_to_repo_root = True,
75 pkg = "pkg/edge/linkerd/k8s/apis",
76)
View as plain text