New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Helm is converting my git tag to exponential form #1643
Comments
It seems to happen even when the git commit short hash has the alpha hex characters in it. I suspect this was only working for me for a while since I was actually using |
I was on |
Haven't repro'd it yet on |
We're seeing this in Helm 2.5.0, for example,
|
Also seeing this in helm 2.6.1
|
Can we re-open this issue? It's not fixed. In my case, seeing this below on $ kubetctl describe po msj-treasure-map-msj-treasure-map-192172122-dnb80
...
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 1m default-scheduler Successfully assigned msj-treasure-map-msj-treasure-map-192172122-dnb80 to ip-10-253-13-113.ec2.internal
Warning InspectFailed 15s (x9 over 1m) kubelet, ip-10-253-13-113.ec2.internal Failed to apply default image tag "596297932419.dkr.ecr.us-east-1.amazonaws.com/msj-trmap-uwsgi:5.997578e+06": couldn't parse image reference "596297932419.dkr.ecr.us-east-1.amazonaws.com/msj-trmap-uwsgi:5.997578e+06": invalid reference format
Warning InspectFailed 15s (x9 over 1m) kubelet, ip-10-253-13-113.ec2.internal Failed to apply default image tag "596297932419.dkr.ecr.us-east-1.amazonaws.com/msj-trmap-nginx:5.997578e+06": couldn't parse image reference "596297932419.dkr.ecr.us-east-1.amazonaws.com/msj-trmap-nginx:5.997578e+06": invalid reference format
Warning FailedSync 15s (x9 over 1m) kubelet, ip-10-253-13-113.ec2.internal Error syncing pod, skipping: [failed to "StartContainer" for "msj-treasure-map-uwsgi" with InvalidImageName: "Failed to apply default image tag \"596297932419.dkr.ecr.us-east-1.amazonaws.com/msj-trmap-uwsgi:5.997578e+06\": couldn't parse image reference \"596297932419.dkr.ecr.us-east-1.amazonaws.com/msj-trmap-uwsgi:5.997578e+06\": invalid reference format"
, failed to "StartContainer" for "msj-treasure-map-nginx" with InvalidImageName: "Failed to apply default image tag \"596297932419.dkr.ecr.us-east-1.amazonaws.com/msj-trmap-nginx:5.997578e+06\": couldn't parse image reference \"596297932419.dkr.ecr.us-east-1.amazonaws.com/msj-trmap-nginx:5.997578e+06\": invalid reference format" $ helm version
Client: &version.Version{SemVer:"v2.5.1", GitCommit:"7cf31e8d9a026287041bae077b09165be247ae66", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.5.1", GitCommit:"7cf31e8d9a026287041bae077b09165be247ae66", GitTreeState:"clean"} |
I use a git short commit hash as my docker tag. I pass it to
helm install
as a--set
parameter.$ git describe --always
=58467965
helm install ./polykube --set image.registry="colemickpoly58467965-microsoft.azurecr.io",image.tag="58467965",nameOverride="polykube",image.username="xyz",image.password="abc"
Unfortunately, it's rendered out in exponential form:
failed to "StartContainer" for "aspnet-nginx" with ErrImagePull: "couldn't parse image reference \"colemickpoly58467965-microsoft.azurecr.io/polykube-aspnet-api-nginx:5.8467965e+07\": invalid reference format"
Image: colemickpoly58467965-microsoft.azurecr.io/polykube-aspnet-api-nginx:5.8467965e+07
Suspected as related: #1451 (cc: @michelleN)
The text was updated successfully, but these errors were encountered: