Skip to content

mveritym/kubedecode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KubeDecode

It's very annoying doing kubectl get secret <SECRET> -o yaml and then copy-pasting the value of whatever key is in the secret and base64 decoding it every single time you need it for whatever reason. Use this instead.

  • Install kubectl
  • brew install mveritym/homebrew-mel/kubedecode
  • kubedecode <SECRET_NAME> <KUBE_NAMESPACE>

Output:

mySecretKey: cool decoded value
anotherKey: wowthisissomuchnicer