Difference between revisions of "--set"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
  [[--set-json]]
 
  [[--set-json]]
 +
[[--set-string]]
  
 
  [[helm upgrade]] mygrafana [[stable/grafana]] [[--reuse-values]] [[--set]] [[replicas]]=2
 
  [[helm upgrade]] mygrafana [[stable/grafana]] [[--reuse-values]] [[--set]] [[replicas]]=2
Line 21: Line 22:
  
 
  [[set_list]]
 
  [[set_list]]
 +
 +
{{helm_release grafana example}}
  
 
== Related ==
 
== Related ==

Latest revision as of 13:46, 12 February 2024

--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: