Merge pull request #6306 from ashleyschuett/patch/fix-helm-install-namespace

return namespace assigned to --namespace
pull/6362/head
Matthew Fisher 5 years ago committed by GitHub
commit 180db556aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -129,6 +129,10 @@ func kubeConfig() genericclioptions.RESTClientGetter {
}
func getNamespace() string {
if settings.Namespace != "" {
return settings.Namespace
}
if ns, _, err := kubeConfig().ToRawKubeConfigLoader().Namespace(); err == nil {
return ns
}

Loading…
Cancel
Save