Kubectl reveal secrets
Go to file
Nikolai Rodionov 960122974e
Print multiline values when one entry is shown
2024-03-26 12:33:03 +01:00
completions fix: Set the current ns if one is not set 2023-06-20 00:22:05 +02:00
.drone.yml Create releases on tags 2023-06-01 21:23:48 +02:00
LICENSE Initial commit 2023-06-01 08:14:42 +00:00
README.md fix: Set the current ns if one is not set 2023-06-20 00:22:05 +02:00
kubers Print multiline values when one entry is shown 2024-03-26 12:33:03 +01:00

README.md

kubers

Kubecl Reveal Secrets

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 ] [-c =] <secret_name> [<entry_name>]

Examples: If you want to reveal all entries in the current k8s namespace

$ kubers $SECRET_NAME

If you want to reveal only one entry from the secret in the current namepspace

$ kubers $SECRET_NAME $SECRET_ENTRY

If you want to reveal a secret from another namespace

$ kubers -n  $SECRET_NAME