Better Readme

This commit is contained in:
Nikolai Rodionov 2023-06-01 23:24:05 +02:00
parent 0af0d5a1ed
commit e89ef4c1ec
No known key found for this signature in database
GPG Key ID: 19DB54039EBF8F10

View File

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