Difference between revisions of "--set"

From wikieduonline
Jump to navigation Jump to search
 
(33 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
* <code>[[helm upgrade --set]]</code>
 
* <code>[[helm upgrade --set]]</code>
 
* <code>[[helm upgrade --install --set]]</code>
 
* <code>[[helm upgrade --install --set]]</code>
 +
 +
[[--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>[[helm install my-mariadb]] --set auth.rootPassword=secretpassword,auth.database=app_database oci://REGISTRY_NAME/REPOSITORY_NAME/mariadb</code>
 +
 +
--set [[installCRDs]]=true
 +
 +
 +
[[set_list]]
 +
 +
{{helm_release grafana example}}
  
 
== Related ==
 
== Related ==
[[helm show]]
+
* <code>[[helm show all]]</code>
[[helm get values]]: [[helm get values kibana --all]]
+
* <code>[[helm get values]]</code>
 +
* <code>[[helm get values kibana --all]]</code>
 +
* <code>[[helm upgrade --install kibana elastic/kibana --set cpu=100m]]</code>
 +
* <code>[[helm get values elasticsearch --all]]</code>
 +
* <code>[[helm install elasticsearch elastic/elasticsearch --set replicas=2]]</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: