I have been having trouble deploying Loki via helm chart with terraform. Terraform gives me an error that the chart “grafana/loki” could not be found in “Grafana Community Kubernetes Helm Charts | helm-charts”. But installing the chart “manually” using helm install loki grafana/loki
works fine.
I think this might have something to do with the Loki repo being separate from all of the other helm charts. As far as I can see there is only one helm chart repo, but different repos for the code.
Terraform code-snipet:
resource "helm_release" "loki" {
name = "loki"
repository = "https://grafana.github.io/helm-charts"
chart = "grafana/loki"
values = [
file("${path.module}/../loki/values.yaml")
]
}
Any insight would be greatful.