--set

From wikieduonline
Revision as of 13:46, 12 February 2024 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
--set-json
--set-string
helm upgrade mygrafana stable/grafana --reuse-values --set replicas=2
helm install elasticsearch elastic/elasticsearch --set replicas=2
* helm install mygrafana grafana/grafana --set persistence.enabled=true --set persistence.accessModes={ReadWriteOnce} --set persistence.size=8Gi



  • --set='grafana.sidecar.dashboards.enabled=true'
  • helm install my-mariadb --set auth.rootPassword=secretpassword,auth.database=app_database oci://REGISTRY_NAME/REPOSITORY_NAME/mariadb
--set installCRDs=true


set_list
 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"
 }
}

Related[edit]

See also[edit]

Advertising: