Beware the hidden newlines in Kubernetes secrets | Funky Penguin


#1

When creating secrets for Kubernetes, always use echo -n to create the files you intend to import as secrets using kubectl create secret.


This is a companion discussion topic for the original entry at https://www.funkypenguin.co.nz/beware-the-hidden-newlines-in-kubernetes-secrets/