karmada-io / karmada

Open, Multi-Cloud, Multi-Cluster Kubernetes Orchestration
https://karmada.io
Apache License 2.0
4.47k stars 885 forks source link

Homebrew installation for karmadactl #3676

Open tillig opened 1 year ago

tillig commented 1 year ago

What would you like to be added:

Homebrew integration for installing karmadactl to Mac platforms as an alternative to running a shell script.

Why is this needed:

From a security perspective, our organization generally doesn't like "install by piping to a remotely retrieved shell script" as a solution, but installing things from Homebrew is generally OK (post vetting, etc.). Homebrew also provides a more automated way to keep things up to date or find things to install - brew install karmadactl or brew outdated.

By way of comparison, other similar tools like istioctl and helm have Homebrew installation, so there's precedent for Mac folks looking for such a thing.

RainbowMango commented 1 year ago

That makes sense. Thanks for spotting.

Homebrew also provides a more automated way to keep things up to date or find things to install - brew install karmadactl or brew outdated.

What should we do? Sorry I don't have much experience with Homebrew, I usually install things with it, but don't know how to publish tools.

tillig commented 1 year ago

https://docs.brew.sh/Formula-Cookbook

RainbowMango commented 1 year ago

OK thanks. I'll take a look. By the way, are you going to help with this stuff?

tillig commented 1 year ago

Unclear. I literally just started looking at Karmada today. I figured whether I use it or not, it'd be worth letting the team know via issues what my pain points were in getting started - stuff that, even if I move on, would help other folks have a smoother onboarding experience.

RainbowMango commented 1 year ago

Appreciate!! That means a lot to the community.