Difference between revisions of "Error: template: grafana/templates/ingress.yaml"

From wikieduonline
Jump to navigation Jump to search
(Created page with " ╷ │ Error: template: grafana/templates/ingress.yaml:36:19: executing "grafana/templates/ingress.yaml" at <.Values.ingress.hosts>: range can't iterate over example.com...")
 
 
Line 1: Line 1:
 
+
* https://github.com/helm/charts/blob/master/stable/grafana/templates/ingress.yaml
 
  ╷
 
  ╷
 
  │ Error: template: grafana/templates/ingress.yaml:36:19: executing "grafana/templates/ingress.yaml" at <.Values.ingress.hosts>: range can't iterate over example.com
 
  │ Error: template: grafana/templates/ingress.yaml:36:19: executing "grafana/templates/ingress.yaml" at <.Values.ingress.hosts>: range can't iterate over example.com

Latest revision as of 13:05, 12 February 2024

╷
│ Error: template: grafana/templates/ingress.yaml:36:19: executing "grafana/templates/ingress.yaml" at <.Values.ingress.hosts>: range can't iterate over example.com
│
│   with helm_release.grafana,
│   on main.tf line 155, in resource "helm_release" "grafana":
│  155: resource "helm_release" "grafana" {
│
╵


resource "helm_release" "grafana" {
 name             = "grafana"
 create_namespace = true
 namespace        = "grafana"
 repository       = "https://grafana.github.io/helm-charts"
 chart            = "grafana"

 set {
   name  = "ingress.enabled"
   value = "true"
 }
 set_list {
   name  = "ingress.hosts"
   value = ["example.com"]
 }
 set {
   name  = "ingress.ingressClassName"
   value = "nginx"
 }
 set {
   name  = "ingress.tls"
   value = "true"
 }
}

Advertising: