// SetupWithManager sets up the controller with the Manager.
SetupWithManager sets up the controller with the Manager.
// SetupWithManager sets up the controller with the Manager .
func (r *PolicyReconciler) SetupWithManager(mgr ctrl.Manager) error {
	return ctrl.NewControllerManagedBy(mgr).
		Named(ControllerName).
		For(&policiesv1.Policy{}).
		Complete(r)
}
func ( r * PolicyReconciler ) SetupWithManager ( mgr ctrl . Manager ) error { return ctrl . NewControllerManagedBy ( mgr ) . Named ( ControllerName ) . For ( & policiesv1 . Policy { } ) . Complete ( r ) }
SetupWithManager sets up the controller with the Manager.
SetupWithManager sets up the controller with the Manager .