sealme/scripts/ksecret.sh

3 lines
110 B
Bash
Executable file

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