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