load("//hack/tools/controller-gen:controller-gen.bzl", "gen_crds", "gen_rbac") gen_rbac( name = "gen_rbac", outpath_relative_to_repo_root = True, pkg = "pkg/f8n/warehouse/k8s/controllers/lumperctl", rbac_out_path = "config/pallets/f8n/warehouse/lumperctl/base/rbac", role_name = "lumperctl", ) gen_crds( name = "gen_crds", crd_out_path = "config/pallets/f8n/warehouse/lumperctl/base/crds", outpath_relative_to_repo_root = True, pkg = "pkg/f8n/warehouse/k8s/apis", ) gen_crds( name = "gen_crds_sequel", crd_out_path = "config/pallets/edge/sequel/base/crds", outpath_relative_to_repo_root = True, pkg = "pkg/edge/apis/sequel/k8s/v1alpha2", ) gen_rbac( name = "gen_rbac_syncedobjectctl", outpath_relative_to_repo_root = True, pkg = "pkg/edge/controllers/syncedobject", rbac_out_path = "config/pallets/edge/syncedobjectctl/base/rbac", role_name = "syncedobjectctl", ) gen_crds( name = "gen_crd_syncedobject", crd_out_path = "config/pallets/edge/syncedobjectctl/base/crds", outpath_relative_to_repo_root = True, pkg = "pkg/edge/apis/syncedobject/apis/v1alpha1", ) gen_rbac( name = "gen_rbac_prometheusctl", outpath_relative_to_repo_root = True, pkg = "pkg/edge/monitoring/k8s/controllers/prometheusctl", rbac_out_path = "config/pallets/o11y/prometheus-stackdriver-controller/rbac", role_name = "prometheus-stackdriver-controller", ) gen_rbac( name = "gen_rbac_sequel", outpath_relative_to_repo_root = True, pkg = "pkg/edge/controllers/sequel", rbac_out_path = "config/pallets/edge/sequel/base/rbac", role_name = "sequel", ) gen_crds( name = "gen_crd_sequel", crd_out_path = "config/pallets/edge/sequel/base/crds", outpath_relative_to_repo_root = True, pkg = "pkg/edge/apis/sequel/k8s/v1alpha2", ) gen_rbac( name = "gen_rbac_linkerd", outpath_relative_to_repo_root = True, pkg = "pkg/edge/linkerd/k8s/controllers", rbac_out_path = "config/pallets/linkerdctl/controller/base", role_name = "linkerdctl", ) gen_crds( name = "gen_crds_linkerd", crd_out_path = "config/pallets/linkerdctl/controller/base/crds", outpath_relative_to_repo_root = True, pkg = "pkg/edge/linkerd/k8s/apis", )