Created
September 22, 2023 01:57
-
-
Save akhy/c9aaaf7ba49a6dd9acdafde52962c686 to your computer and use it in GitHub Desktop.
Decode k8s secret using JQ
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
kubectl -n $namespace get secret $name -o json | jq -r '.data | map_values(@base64d)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment