When referencing a tag such as 1.21
, the template throws an error as an incorrect image name is generated.
#631
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I get the following as the template's output for the image name:
When providing the
1.21
tag.Here's my ArgoCD values:
And here's what it looks like within ArgoCD:
However, it works just fine when changing the tag to
1.21.8
.I don't know why that occurs. Seems like "yet another ArgoCD" oddity. We had a few of them across different repos lately and I experienced some myself in some other context.
It seems like ArgoCD is using a different parser for the helm templates than just
helm
?Just stumbled upon that issue while using helm (version 3.14.2) directly. Seems not to be an ArgoCD problem alone.
seconds later I got it fixed... ;-)
I just added the quotation marks around the tag and the deployment was successful.
@tfoks Thanks for sharing.
I guess we should
quote
the image tag in the chart when using it as image reference. There are other occurrences of that2a9273d32f/templates/_helpers.tpl (L90)
Doesn't seem to be super straightforward, see #641.