From f5af697d06f3400d4230f5f50f5256a40a45bc55 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Thu, 7 Dec 2023 12:51:31 +0100 Subject: [PATCH] reconcile: do not emit HelmChartInSync event Due to the frequency, this would otherwise surpress other Kubernetes Events which are more important. Especially when the `.spec.interval` of the HelmRelease is set to a low value. Signed-off-by: Hidde Beydals --- internal/reconcile/helmchart_template.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/reconcile/helmchart_template.go b/internal/reconcile/helmchart_template.go index 84a835ad9..5bf5a9630 100644 --- a/internal/reconcile/helmchart_template.go +++ b/internal/reconcile/helmchart_template.go @@ -149,7 +149,6 @@ func (r *HelmChartTemplate) Reconcile(ctx context.Context, req *Request) error { newChart.Spec.SourceRef.Kind, newChart.GetNamespace(), newChart.Spec.SourceRef.Name) ctrl.LoggerFrom(ctx).Info(msg) - r.eventRecorder.Eventf(req.Object, eventv1.EventTypeTrace, "HelmChartInSync", msg) default: err = fmt.Errorf("unexpected action '%s' for %s", entry.Action.String(), entry.Subject) return err