From a5cf0d4661edaf530a123b79c19aab44d74fd993 Mon Sep 17 00:00:00 2001 From: "Adam D. Cornett" Date: Mon, 13 Jan 2025 12:58:12 -0700 Subject: [PATCH] fix constant reconcilation issue in helm controller Signed-off-by: Adam D. Cornett --- internal/helm/controller/reconcile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/helm/controller/reconcile.go b/internal/helm/controller/reconcile.go index 0f19862ae2..300e72ee33 100644 --- a/internal/helm/controller/reconcile.go +++ b/internal/helm/controller/reconcile.go @@ -105,7 +105,7 @@ func (r HelmOperatorReconciler) Reconcile(ctx context.Context, request reconcile } status := types.StatusFor(o) - originalStatus := o.DeepCopy().Object["status"] + originalStatus := types.StatusFor(o.DeepCopy()) log = log.WithValues("release", manager.ReleaseName()) reconcileResult := reconcile.Result{RequeueAfter: r.ReconcilePeriod}