Skip to content

Commit

Permalink
Merge pull request #4 from meltwater/helm
Browse files Browse the repository at this point in the history
Add helm
  • Loading branch information
dezmodue authored Nov 27, 2020
2 parents 65cbd93 + c2e107b commit 739a77f
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
16 changes: 16 additions & 0 deletions Formula/helm2.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
class Helm2 < Formula
version "2.17.0"
desc "Helm is a tool for managing Charts. Charts are packages of pre-configured Kubernetes resources."
homepage "https://github.com/meltwater/homebrew-fks"
url "https://github.com/meltwater/homebrew-fks/releases/download/helm2-v#{version}/helm-v#{version}-darwin-amd64.tar.gz"
sha256 "104dcda352985306d04d5d23aaf5252d00a85c083f3667fd013991d82f57ae83"

def install
bin.install "helm" => "helm2"
end

# Homebrew requires tests.
test do
assert_match "v#{version}", shell_output("#{bin}/helm2 version --client", 0)
end
end
16 changes: 16 additions & 0 deletions Formula/helm3.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
class Helm3 < Formula
version "3.4.1"
desc "Helm is a tool for managing Charts. Charts are packages of pre-configured Kubernetes resources."
homepage "https://github.com/meltwater/homebrew-fks"
url "https://github.com/meltwater/homebrew-fks/releases/download/helm3-v#{version}/helm-v#{version}-darwin-amd64.tar.gz"
sha256 "71d213d63e1b727d6640c4420aee769316f0a93168b96073d166edcd3a425b3d"

def install
bin.install "helm" => "helm3"
end

# Homebrew requires tests.
test do
assert_match "v#{version}", shell_output("#{bin}/helm3 version --short", 0)
end
end
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ This [homebrew](https://brew.sh) tap is created for convenience. It ensures that
Current CLI binaries in this tap:

- kubectl
- kops
- helm2
- helm3

--

If you are interested in creating your own homebrew tap you can look [here](https://docs.brew.sh/Taps), [here](https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap) and [here](https://medium.com/prodopsio/creating-homebrew-taps-for-private-internal-tools-c41363d58ab0).

0 comments on commit 739a77f

Please sign in to comment.