Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new ClusterDeployment Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.
func AddToManager ¶
func AddToManager(mgr manager.Manager, r reconcile.Reconciler) error
AddToManager adds a new Controller to mgr with r as the reconcile.Reconciler
func NewReconciler ¶
func NewReconciler(mgr manager.Manager) reconcile.Reconciler
NewReconciler returns a new reconcile.Reconciler
Types ¶
type ReconcileClusterDeployment ¶
ReconcileClusterDeployment reconciles a ClusterDeployment object
func (*ReconcileClusterDeployment) Reconcile ¶
Reconcile reads that state of the cluster for a ClusterDeployment object and makes changes based on the state read and what is in the ClusterDeployment.Spec
Automatically generate RBAC rules to allow the Controller to read and write Deployments ¶
+kubebuilder:rbac:groups=batch,resources=jobs,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=serviceaccounts;secrets;configmaps,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=roles;rolebindings,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=hive.openshift.io,resources=clusterdeployments;clusterdeployments/status;clusterdeployments/finalizers,verbs=get;list;watch;create;update;patch;delete