When we attempt to install/upgrade Kong Gateway with an invalid SemVer image tag, we see a SemVer validation error similar to the following:
Error: template: kong/templates/deployment.yaml:273:3: executing "kong/templates/deployment.yaml" at <include "kong.proxy.compatibleReadiness" .>: error calling include: template: kong/templates/_helpers.tpl:1637:12: executing "kong.proxy.compatibleReadiness" at <semverCompare "< 3.3.0" (include "kong.effectiveVersion" .Values.image)>: error calling semverCompare: Invalid Semantic VersionThis is not specific to Kong Gateway 3.4.0.0 — it occurs with any invalid-SemVer image.tag value on any current chart version. Note that on current chart versions (e.g. 3.4.1) the failure now typically surfaces much earlier in the template rendering, from the kong.metaLabels helper’s bare semver call (invoked by nearly every templated resource, including the proxy Service) rather than from kong.proxy.compatibleReadiness’s semverCompare call — so the exact template path, line numbers, and even which Sprig function (semver vs semverCompare) is named in the error you see may differ from the example above, though the root cause (an image.tag that fails Helm’s SemVer parsing, reported as Invalid Semantic Version) is the same.