Bug inside of ingress helm installation of loki?

  • What Grafana version and what operating system are you using?
    Newest helm chart of loki installation on kubernetes 1.26.10

  • What are you trying to achieve?
    Installing loki on kubernetes through helm, adding an service and ingress to the deployment

  • How are you trying to achieve it?
    Using helm and applying a custom values.yaml

  • What happened?
    We have a standard config for adding ingress to a helm values installation:

  enabled: true
  className: "nginx"
  pathtype: ImplementationSpecific
  annotations: {}
  kubernetes.io/ingress.class: nginx
    - host: loki.example.com
      secretName: ingress-tls
        - path: /
          pathType: Prefix
              name: loki-gateway
                name: "http"

But for some reason, helm installation of loki is not accepting these values and will throw this error:

install.go:251: [debug] WARNING: This chart or one of its subcharts contains CRDs. Rendering may fail or contain inaccuracies.
Error: INSTALLATION FAILED: template: loki/templates/ingress.yaml:35:19: executing "loki/templates/ingress.yaml" at <.>: wrong type for value; expected string; got map[string]interface {}
helm.go:84: [debug] templ
  • What did you expect to happen?
    The standard ingress config to be working.

Show that loki/templates/ingress.yaml:35:19, your values and rendered templates, pls.