kubernetes-secret-decode
kubernetes-secret-decode copied to clipboard
Doesn't handle listing multiple secrets at once
Currently, this doesn't seem to work in case you do something like:
kubectl ksd get secret -o yaml
Secrets are not decoded correctly in this case.
I would also love that feature to be added here.
In the meantime I used this approach: https://gist.github.com/gaieges/fbb51fed9a2da6a593cb83c20bd39de5
Another workaround is to use
kubectl get secret | cut -d ' ' -f1 | xargs -L1 kubectl-ksd get secret -o yaml