Closed mecampbellsoup closed 6 months ago
This PR is not going to be accepted as it would break things. tpl
is intended to render .Chart.AppVersion
in controller.image.tag
(https://github.com/haproxytech/helm-charts/blob/e1e93595153b326992bd4f2a3d54cb7af48d08aa/kubernetes-ingress/values.yaml#L64C10-L64C35) with a value from Helm that's set in Chart.yaml
as appVersion
(https://github.com/haproxytech/helm-charts/blob/e1e93595153b326992bd4f2a3d54cb7af48d08aa/kubernetes-ingress/Chart.yaml#L20C1-L20C11) so that we don't hardcode latest version in values.yaml
, but in Chart.yaml
as it is common practice and a preferred way of doing things.
Since
tpl
expects a string, passing an unqouted, fully-numeric image tag value results in a helm templating error, e.g.: