replicatedhq/kots

Please provide a krew formular

baurmatt opened this issue · 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!

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?

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!

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.

Just noting that our internal tracker is SC53810.