grafana / helm-charts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loki chart is broken since 5.44.0 when enabling ingress

thibaultserti opened this issue · comments

ingress:
  enabled: true

It throws an error:

Error: template: loki/templates/ingress.yaml:38:14: executing "loki/templates/ingress.yaml" at <include "loki.ingress.servicePaths" $>: error calling include: template: loki/templates/_helpers.tpl:528:4: executing "loki.ingress.servicePaths" at <include "loki.ingress.scalableServicePaths" .>: error calling include: template: loki/templates/_helpers.tpl:538:4: executing "loki.ingress.scalableServicePaths" at <include "loki.ingress.servicePath" (dict "ctx" . "svcName" "read" "paths" .Values.ingress.paths.read)>: error calling include: template: loki/templates/_helpers.tpl:570:26: executing "loki.ingress.servicePath" at <.Values.loki.server.http_listen_port>: can't evaluate field Values in type interface {}

I think it's due to this modification
https://github.com/grafana/loki/blob/main/production/helm/loki/templates/_helpers.tpl#L570

Fixed by 5.44.3