Skip to content

Commit

Permalink
add homebrew tap
Browse files Browse the repository at this point in the history
  • Loading branch information
pete911 committed Nov 28, 2023
1 parent 9e0165e commit c035794
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,16 @@ release:
github:
owner: pete911
name: kubectl-iam4sa
brews:
- repository:
owner: pete911
name: homebrew-tap
token: "{{ .Env.GITHUB_TOKEN }}"
name: kubectl-iam4sa
homepage: "https://github.com/pete911/kubectl-iam4sa"
description: "debug IAM roles for service accounts"
folder: Formula
install: |
bin.install "kubectl-iam4sa"
test: |
assert_match /Usage/, shell_output("#{bin}/kubectl-iam4sa -h", 0)
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,20 @@ policy with output from `kubectl-iam4sa cluster` output.

In the example above, we can see in the failed events, that the pod is requesting `prometheus-ingest` role, but the role
that is set in annotation is `prometheus`. In this case most likely the pod needs to be restarted.

## download

- [binary](https://github.com/pete911/kubectl-iam4sa/releases)

## build/install

### brew

- add tap `brew tap pete911/tap`
- install `brew install kubectl-iam4sa`

### go

[go](https://golang.org/dl/) has to be installed.
- build `go build`
- install `go install`

0 comments on commit c035794

Please sign in to comment.