Last active
October 11, 2022 08:55
-
-
Save manno/28e50790c53962baa6f6826adc530545 to your computer and use it in GitHub Desktop.
~/.config/k9s/plugin.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
plugin: | |
helm: | |
shortCut: Ctrl-X | |
description: "show helm secret" | |
scopes: | |
- secrets | |
confirmation: false | |
background: false | |
# create k9s-helmsecret.sh in $PATH with: | |
# kubectl get secrets --context "$1" -n "$2" "$3" -o json | jq -r '.data | map_values(@base64d)' | jq -r '.release' | base64 -d | gzip -d | jq | nvim - | |
command: k9s-helmsecret.sh | |
args: | |
- $CONTEXT | |
- $NAMESPACE | |
- $NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment