Loki images not aligned with chart version

While reviewing !5287 (closed) , I've been surprised to see that the images we use do not align at all with what we think we use.

In main:

  • we use loki chart from Git tag v3.5.3
  • but the loki image set in the values of this Helm chart is 3.4.2 ❗
$ helm get values loki --all | yq .loki.image    
digest: null
pullPolicy: IfNotPresent
registry: docker.io
repository: grafana/loki
tag: 3.4.2

I don't know about the details, but it seems that when loki Git repo is tagged with X, the use of X in values.yaml is done in a separate follow-up commit (e.g. https://github.com/grafana/loki/commit/907bb61cc348f1c946c08ff361f9d60a0a504658). This makes sense because until the Git tag is put, no image is produced.

I think that we should consume the Helm chart served by the https://github.com/orgs/grafana/packages/container/package/helm-charts%2Floki Helm/OCI repository -- which is subject to a build process that ensure that it contains the right tag.

Assignee Loading
Time tracking Loading