...
1load("//hack/tools/controller-gen:controller-gen.bzl", "gen_crds", "gen_rbac")
2
3gen_crds(
4 name = "gen_vmctl_crds",
5 crd_out_path = "config/pallets/sds/vms/vmctl/base/crds",
6 outpath_relative_to_repo_root = True,
7 paths = "./...",
8 pkg = "pkg/sds/vms/k8s/controllers/vmctl/apis",
9)
10
11gen_rbac(
12 name = "gen_vmctl_rbac",
13 outpath_relative_to_repo_root = True,
14 pkg = "pkg/sds/vms/k8s/controllers/vmctl",
15 rbac_out_path = "config/pallets/sds/vms/vmctl/base",
16 role_name = "vmctl",
17)
View as plain text