kubernetes-sigs/krew

Error: Flag --kubeconfig is not supported

mashetty330 opened this issue · 3 comments

I'm trying to understand why the krew plugins don't support --kubeconfig flag? Is there a particular reason for this design?
having support for the --kubeconfig flags would be really helpful

That's how kubectl plugin model is designed. Plugins don't inherit flags from kubectl global flags. This doesn't have anything to do with Krew.

/close
/kind question

@ahmetb: The label(s) kind/question cannot be applied, because the repository doesn't have them.

In response to this:

That's how kubectl plugin model is designed. Plugins don't inherit flags from kubectl global flags. This doesn't have anything to do with Krew.

/close
/kind question

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ahmetb: Closing this issue.

In response to this:

That's how kubectl plugin model is designed. Plugins don't inherit flags from kubectl global flags. This doesn't have anything to do with Krew.

/close
/kind question

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.