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

From wikieduonline
Jump to navigation Jump to search
(Created page with " resource "helm_release" "grafana" { name = "grafana" create_namespace = true namespace = "grafana" repository = "https://grafana.github.io/he...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
  resource "helm_release" "grafana" {
+
  resource "[[helm_release]]" "grafana" {
 
   name            = "grafana"
 
   name            = "grafana"
 
   create_namespace = true
 
   create_namespace = true
Line 6: Line 6:
 
   chart            = "grafana"
 
   chart            = "grafana"
 
   
 
   
 +
  [[set]] {
 +
    name  = "[[ingress.enabled]]"
 +
    value = "true"
 +
  }
 +
  [[set_list]] {
 +
    name  = "ingress.hosts"
 +
    value = ["example.com"]
 +
  }
 
   set {
 
   set {
     name  = "[[ingress.enabled]]"
+
     name  = "[[ingress.ingressClassName]]"
 +
    value = "nginx"
 +
  }
 +
  [[set]] {
 +
    name  = "[[ingress.tls]]"
 
     value = "true"
 
     value = "true"
 
   }
 
   }
 
  }
 
  }

Latest revision as of 12:23, 13 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.ingressClassName"
   value = "nginx"
 }
 set {
   name  = "ingress.tls"
   value = "true"
 }
}

Advertising: