▲ | CBLT 6 days ago | |
I don't always store my Kubernetes Secrets in files, but when I do, I prefer stringData. | ||
▲ | mdaniel 6 days ago | parent [-] | |
I believe OP meant $(kubectl get secret) which by default returns them in JSON and base64 encoded. I do agree with you that it would be stellar if kubectl were bright enough to recognize "there's no weird characters, show me in stringData" but there are already other way more important DX issues that haven't gotten any traction |