Skip to content

allanger/kubers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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