From 7fa69955f81bb221051b454be9fe8ce903bb49b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20=C5=BBak?= Date: Wed, 27 Apr 2022 16:18:26 +0200 Subject: [PATCH] add README.md improvement in install section --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6c1ff0e..2e04871 100644 --- a/README.md +++ b/README.md @@ -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