sealme/scripts/ksecret.sh

4 lines
110 B
Bash
Raw Permalink Normal View History

2023-09-03 17:39:38 +00:00
#!/bin/sh
kubectl get secrets $@ -o yaml | yq '.stringData = .data | del(.data) | .stringData.* |= @base64d'