Enables RecoverPanic option on reconcilers
Signed-off-by: Santosh Kaluskar <dtshbl@gmail.com>
This commit is contained in:
parent
4676f8b337
commit
e52e25a373
|
|
@ -89,6 +89,7 @@ func (r *AlertReconciler) SetupWithManagerAndOptions(mgr ctrl.Manager, opts Aler
|
|||
WithOptions(controller.Options{
|
||||
MaxConcurrentReconciles: opts.MaxConcurrentReconciles,
|
||||
RateLimiter: opts.RateLimiter,
|
||||
RecoverPanic: true,
|
||||
}).
|
||||
Complete(r)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -68,6 +68,7 @@ func (r *ProviderReconciler) SetupWithManagerAndOptions(mgr ctrl.Manager, opts P
|
|||
WithOptions(controller.Options{
|
||||
MaxConcurrentReconciles: opts.MaxConcurrentReconciles,
|
||||
RateLimiter: opts.RateLimiter,
|
||||
RecoverPanic: true,
|
||||
}).
|
||||
Complete(r)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -141,6 +141,7 @@ func (r *ReceiverReconciler) SetupWithManagerAndOptions(mgr ctrl.Manager, opts R
|
|||
WithOptions(controller.Options{
|
||||
MaxConcurrentReconciles: opts.MaxConcurrentReconciles,
|
||||
RateLimiter: opts.RateLimiter,
|
||||
RecoverPanic: true,
|
||||
}).
|
||||
Complete(r)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue