kubernetes-secret-decode icon indicating copy to clipboard operation
kubernetes-secret-decode copied to clipboard

Doesn't handle listing multiple secrets at once

Open languitar opened this issue 4 years ago • 2 comments

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.

languitar avatar Mar 31 '20 13:03 languitar

I would also love that feature to be added here.

In the meantime I used this approach: https://gist.github.com/gaieges/fbb51fed9a2da6a593cb83c20bd39de5

gaieges avatar Nov 02 '20 18:11 gaieges

Another workaround is to use kubectl get secret | cut -d ' ' -f1 | xargs -L1 kubectl-ksd get secret -o yaml

MathiasVandePol avatar Feb 04 '21 10:02 MathiasVandePol