Skip to content

Commit

Permalink
add README.md improvement in install section
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Żak committed Apr 27, 2022
1 parent f1b96e9 commit 7fa6995
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,28 @@ Currently supported resource types:
* Secrets

# Install
Download the kubectl-tbac binary and place it in your $PATH.
Download the kubectl-tbac binary from [releases](https://github.com/Bisnode/kubectl-tbac/releases)
Place binary in directory for example kubectl-tbac

### For MacOS/Linux:

You can add it to your $PATH in ~/.bash_profile or ~/.profile

```
export KUBECTL_TBAC="$HOME/kubectl-tbac"
PATH=$PATH:$KUBECTL_TBAC
export PATH
```

reload: source ~/.bash_profile

### For Windows:

Add system variable KUBECTL_TBAC with path to kubectl-tbac directory containing binary
Add to Path %KUBECTL_TBAC%

### Test it:

Once in your $PATH you can start using `kubectl tbac`.

# Build
Expand Down

0 comments on commit 7fa6995

Please sign in to comment.