jordanwilson230/kubectl-plugins

kubectl exec-as does not work

kam1kaze opened this issue · 2 comments

Is your feature request related to a problem? Please describe.
kubectl exec-as does not work for me

More details:

❱ kubectl exec-as --help
Error: unknown command "exec-as" for "kubectl"
Run 'kubectl --help' for usage.
unknown command "exec-as" for "kubectl"
❱ type -a kubectl-exec-as
kubectl-exec-as is /Users/kam1kaze/.kube/plugins/jordanwilson230/kubectl-exec-as
❱ kubectl version
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-20T04:49:16Z", GoVersion:"go1.12.6", Compiler:"gc", Platform:"darwin/amd64"}

Work-a-round:

❱ ln -s kubectl-exec-as ~/.kube/plugins/jordanwilson230/kubectl-ssh
❱ type -a kubectl-ssh
kubectl-ssh is /Users/kam1kaze/.kube/plugins/jordanwilson230/kubectl-ssh
❱ kubectl ssh --help
Usage: kubectl ssh <options> <pod name>
   p) # Specify pod name.
   u) # Specify user
   c) # Specify container
   h) # Display help.

Describe the solution you'd like
do not have right now

Describe alternatives you've considered

ln -s kubectl-exec-as ~/.kube/plugins/jordanwilson230/kubectl-ssh

@kam1kaze thanks for notifying me! I was working off my phone late last night and started dozing off...I'll revert it to "ssh" until I have more time to rename/test.

Fixed. Let me know if you experience any more issues and I'll reopen. Thanks again @kam1kaze.