feat: add ksecret
This commit is contained in:
parent
f844352f9e
commit
c3326d692b
2 changed files with 29 additions and 1 deletions
3
scripts/ksecret.sh
Executable file
3
scripts/ksecret.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
kubectl get secrets $@ -o yaml | yq '.stringData = .data | del(.data) | .stringData.* |= @base64d'
|
Loading…
Add table
Add a link
Reference in a new issue