replicatedhq / kots

KOTS provides the framework, tools and integrations that enable the delivery and management of 3rd-party Kubernetes applications, a.k.a. Kubernetes Off-The-Shelf (KOTS) Software.
https://kots.io
Apache License 2.0
904 stars 91 forks source link

Please provide a krew formular #2877

Open baurmatt opened 2 years ago

baurmatt commented 2 years ago

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!

ajp-io commented 2 years ago

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?

baurmatt commented 2 years ago

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!
ajp-io commented 2 years ago

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.

obfuscurity commented 2 years ago

Just noting that our internal tracker is SC53810.