From e8c46f03fb3115da1a48e1b989424c3174268b97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20Barri=C3=A9?= Date: Wed, 7 Feb 2024 21:27:34 +0100 Subject: [PATCH] fix: set kubeclient namespace in acrtion configuration Init MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Paul BarriƩ --- pkg/action/action.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/action/action.go b/pkg/action/action.go index 5693f4838..99cb210b3 100644 --- a/pkg/action/action.go +++ b/pkg/action/action.go @@ -368,6 +368,7 @@ func (cfg *Configuration) recordRelease(r *release.Release) { // Init initializes the action configuration func (cfg *Configuration) Init(getter genericclioptions.RESTClientGetter, namespace, helmDriver string, log DebugLog) error { kc := kube.New(getter) + kc.Namespace = namespace kc.Log = log lazyClient := &lazyClient{