You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Helm seems to translate all-numeric image tags into scientific notation #3246
I don't yet have concrete repro steps, but it seems that if you pass the helm CLI an 8 digit number in a --set (such as something that git rev-parse --short HEAD might output), it converts it into scientific notation.
This can be problematic if you tag your docker images with shortened git SHAs, because the Docker image tag won't be the same as the one you pass Kubernetes. Additionally, Kubernetes correctly reports the image name invalid
Thanks @bacongobbler. FWIW, I simply suffixed the tag with -gitsha, which seems to ensure that the value is treated as a string. I'll post my +1 in #1707 as well
Activity
bacongobbler commentedon Dec 11, 2017
closing as a duplicate of #1707 and #3001. This is an annoying bug for sure.
arschles commentedon Dec 11, 2017
Thanks @bacongobbler. FWIW, I simply suffixed the tag with
-gitsha, which seems to ensure that the value is treated as a string. I'll post my +1 in #1707 as well