A secret can be used with a pod in three ways:
- to populate environment variables for containers.
- as files in a volume mounted on one or more of its containers.
- by kubelet when pulling images for the pod.
Secrets must be base64 encoded,
echointroduces a new line, flag-nresolves the issue