Difference between revisions of "--set"

From wikieduonline
Jump to navigation Jump to search
 
(15 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* <code>[[helm upgrade --install --set]]</code>
 
* <code>[[helm upgrade --install --set]]</code>
  
  [[helm upgrade]] mygrafana stable/grafana [[--reuse-values]] [[--set]] [[replicas]]=2
+
[[--set-json]]
 +
[[--set-string]]
 +
 
 +
[[helm upgrade]] mygrafana [[stable/grafana]] [[--reuse-values]] [[--set]] [[replicas]]=2
 +
[[helm install elasticsearch]] [[elastic/elasticsearch]] --set replicas=2
 +
 
 +
* <code>[[helm install mygrafana grafana/grafana]] --set persistence.enabled=true --set persistence.accessModes={ReadWriteOnce} --set persistence.size=8Gi</code>
 +
 
  
  
  
 
* <code>--set='[[grafana]].sidecar.dashboards.enabled=true'</code>
 
* <code>--set='[[grafana]].sidecar.dashboards.enabled=true'</code>
 +
 +
* <code>[[helm install my-mariadb]] --set auth.rootPassword=secretpassword,auth.database=app_database oci://REGISTRY_NAME/REPOSITORY_NAME/mariadb</code>
  
 
  --set [[installCRDs]]=true
 
  --set [[installCRDs]]=true
  
 +
 +
[[set_list]]
 +
 +
{{helm_release grafana example}}
  
 
== Related ==
 
== Related ==
Line 19: Line 32:
 
* <code>[[helm get values elasticsearch --all]]</code>
 
* <code>[[helm get values elasticsearch --all]]</code>
 
* <code>[[helm install elasticsearch elastic/elasticsearch --set replicas=2]]</code>
 
* <code>[[helm install elasticsearch elastic/elasticsearch --set replicas=2]]</code>
* <code>[[helm install mygrafana grafana/grafana]] --set persistence.enabled=true --set persistence.accessModes={ReadWriteOnce} --set persistence.size=8Gi</code>
 
 
* <code>[[helm install --values]]</code>
 
* <code>[[helm install --values]]</code>
 +
* <code>[[helm upgrade --help]]</code>
 +
* [[Error: Missing key/value separator]]
 +
* [[Terraform function: toset]]
  
 
== See also ==
 
== See also ==
* {{helm}}
+
* {{helm install}}
  
 
[[Category:Helm]]
 
[[Category:Helm]]

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: