Skip to content

Commit

Permalink
Merge pull request #25 from int128/kubectl-plugin
Browse files Browse the repository at this point in the history
Add kubectl plugin support
  • Loading branch information
int128 authored Nov 9, 2018
2 parents 4b08a49 + da95fe4 commit 63fda1d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ brew:
name: homebrew-kubelogin
homepage: https://github.com/int128/kubelogin
description: "kubectl with OpenID Connect (OIDC) authentication"
test: system "#{bin}/kubelogin --help"
install: bin.install "kubelogin"
test: |
system "#{bin}/kubelogin --help"
system "#{bin}/kubectl-login --help"
install: |
bin.install "kubelogin"
ln_s bin/"kubelogin" bin/"kubectl-login"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ brew tap int128/kubelogin
brew install kubelogin
```

After initial setup or when the token has been expired, just run `kubelogin`.
After initial setup or when the token has been expired, just run `kubelogin` or `kubectl login`.

```
% kubelogin
Expand Down

0 comments on commit 63fda1d

Please sign in to comment.