Skip to content

About

Bare metal host provisioning integration for Kubernetes

Resources

Contributing

Security policy

Stars

10 stars

Watchers

11 watching

Forks

 
 

Latest commit

 

History

5,838 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 for more information.

How to add a new upstream CRD to openshift

In 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,

// +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.

About

Bare metal host provisioning integration for Kubernetes

Resources

Contributing

Security policy

Stars

10 stars

Watchers

11 watching

Forks

Releases

Packages

Used by

Contributors

Languages