!!! note This post is a thought. It's a short note that I make about someone else's content online. Learn more about the process here

Here's my thought on 💭 Can't create Secret in Kubernetes: illegal base64 data at input - Stack Overflow

In order to use k8s secrets manifest you first need to encode the data values.

echo -n 'mega_secret_key' | openssl base64

This post was a thought by Waylon Walker see all my thoughts at https://waylonwalker.com/thoughts