Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
guyromb authored Apr 24, 2019
1 parent 4b04454 commit 71eb6e8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# Edit Kubernetes secrets

Installation:

$> pip install -r requirements.txt --user

Usage:

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

By default vi editor will be used, to use a different editor:

$> EDITOR=nano 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
Expand Down

0 comments on commit 71eb6e8

Please sign in to comment.