Fix namespace mismatch during installation

Signed-off-by: Chu Yang <openqt@163.com>
pull/11497/head
Chu Yang 3 years ago committed by Chu Yang
parent 269dd247d0
commit d3ab187fd6

@ -366,6 +366,7 @@ func (cfg *Configuration) recordRelease(r *release.Release) {
func (cfg *Configuration) Init(getter genericclioptions.RESTClientGetter, namespace, helmDriver string, log DebugLog) error { func (cfg *Configuration) Init(getter genericclioptions.RESTClientGetter, namespace, helmDriver string, log DebugLog) error {
kc := kube.New(getter) kc := kube.New(getter)
kc.Log = log kc.Log = log
kc.Namespace = namespace
lazyClient := &lazyClient{ lazyClient := &lazyClient{
namespace: namespace, namespace: namespace,

Loading…
Cancel
Save