unknown flag: --kubeconfig when issued details subcommand
developer-guy opened this issue · 5 comments
developer-guy commented
$ k fleet details <context> --kubeconfig some-kubeconf
I think --kubeconfig flag not added to details subcommand.
mhausenblas commented
Yep, I can reproduce this, seems the global kubectl
flags such as --kubeconfig
are only available to the top-level command but not subcommands. Not sure how to address this, tho … @rajatjindal have you seen this before?
rajatjindal commented
I can check this later tonight.
rajatjindal commented
Hi @developer-guy ,
could you please try the fix from #14 and confirm if that resolves the issue for you.
many thanks
developer-guy commented
Hi @developer-guy ,
could you please try the fix from #14 and confirm if that resolves the issue for you.
many thanks
Ok , i will try as soon as possible , you’re welcome 🙏
rajatjindal commented
fixed by #14