ksecval
167 bytes
1# vim: ft=zsh
2# get k8s secret value and decode base64
3
4kubectl get secret -n ${1} ${2} -o jsonpath="{.data}" | jq 'to_entries|map("\(.key): \(.value|@base64d)")|.[]'
1# vim: ft=zsh
2# get k8s secret value and decode base64
3
4kubectl get secret -n ${1} ${2} -o jsonpath="{.data}" | jq 'to_entries|map("\(.key): \(.value|@base64d)")|.[]'