From 194da4292d77d2f63c034be2167d4f9943efc9b4 Mon Sep 17 00:00:00 2001 From: Franco Date: Mon, 13 Nov 2023 13:06:28 -0300 Subject: [PATCH] Add temporal debug log --- internal/controller/policyreport_controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/controller/policyreport_controller.go b/internal/controller/policyreport_controller.go index b9eb206..fc7a449 100644 --- a/internal/controller/policyreport_controller.go +++ b/internal/controller/policyreport_controller.go @@ -81,6 +81,7 @@ func (r *PolicyReportReconciler) Reconcile(ctx context.Context, req ctrl.Request for _, namespace := range r.ExcludeNamespaces { if namespace == policyReport.Namespace { // Namespace is excluded, ignore + log.Log.Info("Namespace %s is excluded, report will be ignored", namespace) return reconcile.Result{}, nil } }