Closed tillig closed 3 years ago
I left my comment at https://github.com/kubernetes/kubectl/issues/1125#issuecomment-942551895 I don't think this is something krew or kubectl should handle.
Ideally ~
should go away by the time the export
command (or variable assignment) is evaluated in your shell. Make sure you are not using \~
(or single quotes, like export PATH='...'
).
/close
@ahmetb: Closing this issue.
After installing
krew
, I've added~/.krew/bin
to my path, which works for other tools requiring home-directory-based-paths... but does not seem to work forkubectl
orkrew
.For
krew
, you get a warning when you do an update:However, I can do
kubectl krew list
and see the plugins I have, so some things work, just not all.I do see that
kubectl
itself doesn't seem to handle~
based paths with respect to plugins so I've added a related issue there. Likely that will have to be handled first.