π Can't create Secret in Kubernetes: illegal base64 data at inpu... Waylon Walker Author October 21, 2023 1 min read !https://stackoverflow.com/questions/53394973/cant-create-secret-in-kubernetes-illegal-base64-data-at-input Copy this post URL Rich Markdown Text View Markdown View Text curl .ansi External Link stackoverflow.com In order to use k8s secrets manifest you first need to encode the data values. echo -n 'mega_secret_key' | openssl base64 Note This post is a thought. Itβs a short note that I make about someone elseβs content online #thoughts