""" This BUILD file defines YAML generation targets for cmd/edge/clusterctl """ load("//hack/tools/controller-gen:controller-gen.bzl", "gen_crds", "gen_rbac") gen_rbac( name = "gen_rbac_clusterctl", outpath_relative_to_repo_root = True, pkg = "pkg/edge/controllers/clusterctl", rbac_out_path = "config/pallets/edge/clusterctl/base/rbac", role_name = "clusterctl", ) gen_crds( name = "gen_crd_cluster", crd_out_path = "config/pallets/edge/clusterctl/base/crds", outpath_relative_to_repo_root = True, pkg = "pkg/edge/apis/cluster/v1alpha1", ) gen_crds( name = "gen_crd_gkecluster", crd_out_path = "config/pallets/edge/clusterctl/base/crds", outpath_relative_to_repo_root = True, pkg = "pkg/edge/apis/gkecluster/v1alpha1", )