This repository was archived by the owner on Apr 25, 2022. It is now read-only.

Description
Just so we don't forget about it.
// SetupWithManager creates a new CephCluster Controller and adds it to the Manager
func (r *CephClusterReconciler) SetupWithManager(mgr ctrl.Manager) error {
return ctrl.NewControllerManagedBy(mgr).
For(&hypersdsv1alpha1.CephCluster{}).
Watches(&source.Kind{Type: &v1.RoleBinding{}},
&handler.EnqueueRequestForOwner{IsController: true, OwnerType: &hypersdsv1alpha1.CephCluster{}}).
WithOptions(controller.Options{MaxConcurrentReconciles: 10}).
Complete(r)
}
Looking at operator-framework/operator-sdk#1938 seems like we can come up with an appropriate number and see how it goes.