Skip to content
Decode all parts of a kubernetes secret, no more copypasting!
Shell Makefile
Branch: master
Clone or download
Latest commit 345f8f5 Jun 15, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
LICENSE Renaming license Feb 9, 2018
README.md Update README.md Feb 9, 2018
makefile Passing prefix to makefile Feb 9, 2018

README.md

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
You can’t perform that action at this time.