feat: add ksecret

This commit is contained in:
Bastien Riviere 2023-09-03 19:39:38 +02:00
parent f844352f9e
commit c3326d692b
Signed by: babariviere
GPG key ID: 4E5F0839249F162E
2 changed files with 29 additions and 1 deletions

3
scripts/ksecret.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
kubectl get secrets $@ -o yaml | yq '.stringData = .data | del(.data) | .stringData.* |= @base64d'