Better Readme

This commit is contained in:
Nikolai Rodionov 2023-06-01 23:24:05 +02:00
parent 0af0d5a1ed
commit e89ef4c1ec
Signed by: allanger
GPG Key ID: 19DB54039EBF8F10
1 changed files with 12 additions and 1 deletions

View File

@ -3,16 +3,27 @@
kubers is a super simple tool that reveals k8s secrets using kubectl and yq
The tool requires `yq` and `kubectl`
Usage:
kubers [-V | --version] [-h | --help] [-n | --namespace <namespace>] [-c <name>=<value>]
<secret_name> [<entry_name>]
Examples:
If you want to reveal all entries in the current k8s namespace
```
$ kubers
```
If you want to reveal only one entry from the secret in the current namepspace
```
$ kubers
```
If you want to reveal a secret from another namespace
```
$ kubers -n
```