From cbc80a3b2b417be0fae7e2d694ee384adc7151ad Mon Sep 17 00:00:00 2001 From: Alejandro Ruiz <4057165+aruiz14@users.noreply.github.com> Date: Thu, 20 Jun 2024 18:52:07 +0200 Subject: [PATCH] Ignore status fields during drift detection (#2522) --- internal/helmdeployer/deployer.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/helmdeployer/deployer.go b/internal/helmdeployer/deployer.go index f3f2505ee2..84e703736b 100644 --- a/internal/helmdeployer/deployer.go +++ b/internal/helmdeployer/deployer.go @@ -127,10 +127,6 @@ func (h *Helm) getCfg(ctx context.Context, namespace, serviceAccountName string) getter = h.getter ) - if h.useGlobalCfg { - return h.globalCfg, nil - } - serviceAccountNamespace, serviceAccountName, err := h.getServiceAccount(ctx, serviceAccountName) if err != nil { return cfg, err