Replies: 3 comments 8 replies
-
|
If you don't want to use |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
longer term, an entire krew backend would be nice :) |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I made an initial effort using the vfox-backend plugin architecture. Check it out here: https://github.com/soupglasses/mise-krew Also, absolutely no promises anything works, its quite hacky. 😅 |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Right now krew support seems to be lacking. The problem is that even while the binary
krewis possible to install from the registry, that doesn't meankrewis usable and accessible viakubectl.For
kubectl krewto match, there needs to be akubectl-krewbinary inPATH. Krew does this withkrew install krewwhich creates abin/subdirectory withinKREW_ROOT(defaults to~/.krew) that has the symlinkkubectl-krew. Krew installation instructions then require that the user to adds thisbin/subdirectory to theirPATHmanually. Then after you install plugins withkubectl krew installcommands thebin/subdirectory gets more symlinks with akubectl-prefix which kubectl picks up.It would be great if Mise could have support for Krew in a way where
krew install krewis issued to a Mise-controlled directory and then thisbin/path would go toPATHwith Mise's normal logic.That would make it possible to have both Krew and kubectl sandboxed with Mise and still make it possible to install Krew plugins e.g. from a postinstall hook. Even better would be if in
.mise.tomlthe tools section entry of Krew could include the plugins that should be installed. That way there would not need to be postinstall hacks at all.Edit. Full krew support is now possible with the krew-plugin 🎉
Beta Was this translation helpful? Give feedback.
All reactions