kots icon indicating copy to clipboard operation
kots copied to clipboard

Please provide a krew formular

Open baurmatt opened this issue 3 years ago • 4 comments

Hey,

can you please make kots available through krew? This would make the installation easier and wouldn't require sudo permissions.

-> https://krew.sigs.k8s.io/docs/developer-guide/plugin-manifest/

Thanks!

baurmatt avatar Jun 13 '22 11:06 baurmatt

That seems reasonable, especially since we use krew for the preflight and support-bundle plugins. We'll maintain the curl https://kots.io/install | bash option because it's simpler, but we could probably have krew as an alternative too.

Where is sudo required for installing the kots CLI?

ajp-io avatar Jul 08 '22 01:07 ajp-io

Thanks! :) sudo is used here:

$ curl -s https://kots.io/install | grep sudo
	mv $TMP_BIN $OUT_DIR/kubectl-$PROG 2>/dev/null || sudo mv $TMP_BIN $OUT_DIR/kubectl-$PROG || fail "mv failed" #FINAL STEP!

baurmatt avatar Jul 11 '22 11:07 baurmatt

I opened a story internally for us to track this. It's not the highest priority at this point, but it's likely not a huge lift either.

ajp-io avatar Jul 21 '22 14:07 ajp-io

Just noting that our internal tracker is SC53810.

obfuscurity avatar Aug 26 '22 15:08 obfuscurity