# baremetal-operator **Repository Path**: mirrors_openshift/baremetal-operator ## Basic Information - **Project Name**: baremetal-operator - **Description**: Bare metal host provisioning integration for Kubernetes - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-22 - **Last Updated**: 2026-11-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Bare Metal Operator The Bare Metal Operator implements a Kubernetes API for managing bare metal hosts. It maintains an inventory of available hosts as instances of the `BareMetalHost` Custom Resource Definition. Please, see the [upstream project](https://github.com/metal3-io/baremetal-operator) for more information. ## How to add a new upstream CRD to openshift In [cluster-baremetal-operator](https://github.com/openshift/cluster-baremetal-operator), in `provisioning_controller.go` there is a long list of RBAC directives and you need to register your new CRD there. For example, ``` go // +kubebuilder:rbac:groups=metal3.io,resources=hostupdatepolicies,verbs=get;list;watch;create;update;patch;delete // +kubebuilder:rbac:groups=metal3.io,resources=hostupdatepolicies/status,verbs=get;update;patch // +kubebuilder:rbac:groups=metal3.io,resources=hostupdatepolicies/finalizers,verbs=update ``` Then, regenerate manifests with: ``` $ make manifests ``` This PR to cluster-baremetal-operator will block your PR to bring the new CRDs to baremetal-operator, unless the controller for the new API is feature-gated.