From 40fd904b6cddd2fe88752b26828145c44f5ff37f Mon Sep 17 00:00:00 2001 From: GIRARDI Tommy Date: Mon, 24 Jun 2024 13:56:39 +0200 Subject: [PATCH] fixing : Error creating two Bundles with the same release name in two different namespaces --- 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