jordanwilson230 / kubectl-plugins

A Collection of Plugins for kubectl Integration (exec as any user, context switching, etc).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

If the kubectl in "Application Support", on MacOS will got "No such file or directory"

lazychanger opened this issue · comments

+ temp_container=ssh-pod-20674
++ /Users/duan/Library/Application Support/OpenLens/binaries/kubectl/1.22.6/kubectl --namespace=argocd get pod argocd-server-5678b46b8c-kktx9 -o 'go-template={{.spec.nodeName}}'
/Users/duan/.kube/plugins/jordanwilson230/kubectl-ssh: line 92: /Users/duan/Library/Application: No such file or directory

True path is /Users/duan/Library/Application\ Support/OpenLens/binaries/kubectl/1.22.6/kubectl