create-k8s-secrets
Last updated
Last updated
-> use Creating a Secret Manually
Encode the values base64 / better use visual studio code plugin Encode Decode (Convert Section)
! in kubernetes the env variables are authomatically decoded !
create secret file in a folder without version control
encrypt the folder with gpg
install gpg tools:
create to following aliases in .zshrc
:
create secret in kubernetes (secrets muss be in the same namespace as the pod!)
in kubernetes