Closed peterhadac closed 1 year ago
Maybe resolution is
mountPath: {{ if semverCompare ">=1.0.0" (.Values.image.tag | default .Chart.AppVersion) }}/home/node/.n8n{{ else }}/root/.n8n{{ end }}
There seems to be 2 issues here:
1.0
is not valid semantic version in expression ">=1.0"
.Values.image.tag
is passed to semverCompare
function and then is filter default
called1.0
is actually a valid semantic version expression.
The problem is only the missing parenthesis, thanks for the PR!
Temporary fix for me was to specify the image tag manually.
We are trying to use chart with automated pulling of newest version and images. We are fetching Chart and use helm template to gather images from templated chart. We are getting
Is there possibility evaluate version after it was fetched ?