Skip to content

YouCruit/kube-secret-editor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Edit Kubernetes secrets

Usage:

$> KUBE_EDITOR=/path/to/kube-secret-editor.py kubectl edit secret my-secret

The script will:

  • decode the secret values coming from k8s
  • call $EDITOR
  • encode the values back

I have a handy shell alias to use it:

alias kedit-secret="KUBE_EDITOR=kube-secret-editor kubectl edit secret"

About

Edit Kubernetes secrets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%