Helm – Creating Secret from Variable

  In order to save the value of the variable as Secret, the variable must be encoded in base64, for this we use “_helpers.tpl” For example, we need to save the value of the variable “applicationSecret” values.yaml:   Add the following to “_helpers.tpl“: _helpers.tpl:   Now in the “templates” directory, create the file “secret.yaml” secret.yaml: