Helm integer intended to be string value parsed with escape character "\u200"

4/6/2020

I have this Secret resource yaml:

...
stringData:
  imageTag: {{ .Values.image.tag | quote }}

...

In the value file:

image:
  tag: "65977​45"
...

When running the helm template command results to a generated yaml file with the value:

...
stringData:
  imageTag: "65977\u200b45"
...

Seems like a bug in helm. To get around this issue, I have to do this:

...
stringData:
  imageTag: "{{ .Values.image.Tag }}"

...

Is there a better solution? I am using helm version 2.15.2

-- alltej
kubernetes-helm

0 Answers