Many Helm charts and manifest files within Kubernetes have Base64 encoded strings to obfuscate secrets.
The easiest way to encode and decode values is to use a couple of commands in Linux: –
To encode a clear piece of information to Base64, use the following command: –
echo "clearvalue" | base64
Y2xlYXJ2YWx1ZQo=
To decode a base64 string back to the precise value, use this: –
echo "Y2xlYXJ2YWx1ZQo=" | base64 --decode
clearvalue