For the Deployment object, both spec.template.spec.containers.env.name and spec.template.spec.containers.env.value should be treated as strings. Implementing quotes within the helmet.toEnvArray function guarantees that all template values are correctly recognized as strings.
After the change, the example in the issue will be rendered as:
Fixes issue https://github.com/companyinfo/helm-charts/issues/34
For the Deployment object, both
spec.template.spec.containers.env.name
andspec.template.spec.containers.env.value
should be treated as strings. Implementing quotes within the helmet.toEnvArray function guarantees that all template values are correctly recognized as strings.After the change, the example in the issue will be rendered as: