# Embedded Pallets In order to be able to embed the pallets directory to be used in tests and bootstrapping all bazel rules for pallets need to be defined in the root BUILD.bazel. gen_crds and gen_rbac for lumper can be used as an example ```bazel 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/v1alpha1", ) ```