Quote Strings, Don’t Quote Integers
When you are working with string data, you are always safer quoting thestrings than leaving them as bare words:
name: {{ .Values.MyName | quote }}
But when working with integers do not quote the values. That can, inmany cases, cause parsing errors inside of Kubernetes.
port: {{ .Values.Port }}
This remark does not apply to env variables values which are expected to be string, even if they represent integers:
env:
-name: HOST
value: "http://host"
-name: PORT
value: "1234"