Difference between revisions of "Template:Helm release grafana example"

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
 
     name  = "ingress.hosts"
 
     name  = "ingress.hosts"
 
     value = ["example.com"]
 
     value = ["example.com"]
 +
  }
 +
  set {
 +
    name  = "ingress.class"
 +
    value = "nginx"
 
   }
 
   }
 
   [[set]] {
 
   [[set]] {

Revision as of 13:56, 12 February 2024

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.class"
   value = "nginx"
 }
 set {
   name  = "ingress.tls"
   value = "true"
 }
}

Advertising: