From 8df708662d97838e9da26e81ed9c1efda9237717 Mon Sep 17 00:00:00 2001 From: Thomas O'Neill Date: Thu, 11 Apr 2024 11:40:07 -0400 Subject: [PATCH] set the namespace on the kube client when calling Init Signed-off-by: Thomas O'Neill --- pkg/action/action.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/action/action.go b/pkg/action/action.go index 863c48f07..7de4d9839 100644 --- a/pkg/action/action.go +++ b/pkg/action/action.go @@ -373,6 +373,7 @@ func (cfg *Configuration) recordRelease(r *release.Release) { func (cfg *Configuration) Init(getter genericclioptions.RESTClientGetter, namespace, helmDriver string, log DebugLog) error { kc := kube.New(getter) kc.Log = log + kc.Namespace = namespace lazyClient := &lazyClient{ namespace: namespace,