fix: set kubeclient namespace in acrtion configuration Init

Signed-off-by: Paul Barrié <paul.barrie.calmels@gmail.com>
pull/12783/head
Paul Barrié 2 years ago
parent ead84c6ec7
commit e8c46f03fb

@ -368,6 +368,7 @@ func (cfg *Configuration) recordRelease(r *release.Release) {
// Init initializes the action configuration // Init initializes the action configuration
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.Namespace = namespace
kc.Log = log kc.Log = log
lazyClient := &lazyClient{ lazyClient := &lazyClient{

Loading…
Cancel
Save