set the namespace on the kube client when calling Init

Signed-off-by: Thomas O'Neill <toneill818@gmail.com>
pull/12940/head
Thomas O'Neill 1 year ago
parent 14d0c13e9e
commit 8df708662d

@ -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,

Loading…
Cancel
Save