taiga-helm icon indicating copy to clipboard operation
taiga-helm copied to clipboard

Invalid image name after deployment

Open matulek opened this issue 3 years ago • 5 comments

I did every step as described in readme (installing from chart). Image tags seem to be wrong in some pods:

NAME                      READY   STATUS             RESTARTS   AGE
taiga-async-0             0/1     InvalidImageName   0          31m
taiga-async-rabbitmq-0    1/1     Running            0          31m
taiga-back-0              0/1     InvalidImageName   0          31m
taiga-db-0                1/1     Running            0          31m
taiga-events-0            1/1     Running            0          31m
taiga-events-rabbitmq-0   1/1     Running            0          31m
taiga-front-0             0/1     InvalidImageName   0          31m
taiga-gateway-0           1/1     Running            0          31m
taiga-protected-0         0/1     InvalidImageName   0          31m

Example for back:

Containers:
  taiga-back:
    Container ID:   
    Image:          taigaio/taiga-back: {{ .Chart.AppVersion }}
    Image ID:       
    Port:           8000/TCP

Warning event:

Warning  Failed         31m (x12 over 33m)     kubelet            Error: InvalidImageName
  Warning  InspectFailed  3m21s (x141 over 33m)  kubelet            Failed to apply default image tag "taigaio/taiga-back: {{ .Chart.AppVersion }}": couldn't parse image reference "taigaio/taiga-back: {{ .Chart.AppVersion }}": invalid reference format

Every other failed one has the same problem.

Helm version:

version.BuildInfo{Version:"v3.8.0", GitCommit:"d14138609b01886f544b2025f5000351c9eb092e", GitTreeState:"clean", GoVersion:"go1.17.5"}

matulek avatar Feb 10 '22 12:02 matulek

The solution for me was to provide tags in values.yaml. Either way it could be useful to provide some information in readme about that.

matulek avatar Feb 10 '22 12:02 matulek

This is still an active issue

jdblack avatar Jan 20 '23 14:01 jdblack

The solution for me was to provide tags in values.yaml. Either way it could be useful to provide some information in readme about that.

Can you show what exactly you changed?

daanbreur avatar Jun 07 '23 18:06 daanbreur

Can you show what exactly you changed?

I'm sorry, it's been 1,5 year and I don't have a local copy of this chart anymore. Look inside the helm templates of the resources that fail to run in your cluster. For example taiga-async-statefulset has the following image defined:

image: "{{ .Values.taigaAsync.image.repository }}:{{ .Values.taigaAsync.image.tag | default .Chart.AppVersion }}"

the part {{ .Values.taigaAsync.image.tag | default .Chart.AppVersion }}" is the tag, so you probably need to set the values like this:

taigaAsync:
    image:
        tag: [THE_CORRECT_TAG]

You can look for the correct tags on hub.docker.com

I'm sorry but that's everything I can do for you currently as I don't have my local copy anymore.

matulek avatar Jun 07 '23 19:06 matulek

I've created fixes for the default tags in this pull request https://github.com/nemonik/taiga-helm/pull/18

Mbd06b avatar Oct 07 '23 19:10 Mbd06b