Skip to content

Instantly share code, notes, and snippets.

@cheeyeo
Created January 15, 2019 11:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cheeyeo/6d91a15b44317699b2ef1074f7ea5faa to your computer and use it in GitHub Desktop.
Save cheeyeo/6d91a15b44317699b2ef1074f7ea5faa to your computer and use it in GitHub Desktop.
Adding value to k8 secret

To add a value to a secret we need to ensure it is base64 encoded without whitespace

E.g.

echo -n 'true' | base64 -w0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment