We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7857f66 commit bbfc3e1Copy full SHA for bbfc3e1
pkg/reconciler/reconciler.go
@@ -489,11 +489,14 @@ func WithValueMapper(m values.Mapper) Option {
489
// - Irreconcilable - an error occurred during reconciliation
490
func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err error) {
491
log := r.log.WithValues(strings.ToLower(r.gvk.Kind), req.NamespacedName)
492
+ debugLog := log.V(1)
493
+ debugLog.Info("reconciling...")
494
495
obj := &unstructured.Unstructured{}
496
obj.SetGroupVersionKind(*r.gvk)
497
err = r.client.Get(ctx, req.NamespacedName, obj)
498
if apierrors.IsNotFound(err) {
499
+ debugLog.Info("resource not found, nothing to do")
500
return ctrl.Result{}, nil
501
}
502
if err != nil {
0 commit comments