Difference between revisions of "Helm: values.yaml"

From wikieduonline
Jump to navigation Jump to search
(64 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{lowercase}}
+
* https://helm.sh/docs/chart_template_guide/values_files/
  
https://github.com/helm/charts/blob/master/stable/grafana/values.yaml
+
[[helm create my-chart]]
 +
{{helm files}}
 +
 
 +
== Update installed helm ==
 +
* <code>[[helm upgrade]] -f ingress-controller/values.yml nginx-ingress stable/nginx-ingress</code>
 +
 
 +
* <code>[[helm upgrade elasticsearch elastic/elasticsearch -f ./elasticsearch values.yaml]]</code>
 +
 
 +
== Example: helm create ==
 +
{{helm create my-first-chart}}
 +
 
 +
== Examples ==
 +
[[Grafana]] example:
 +
* https://github.com/helm/charts/blob/master/stable/grafana/values.yaml
 +
 
 +
[[Elasticsearch]] example, [[elasticsearch_values.yaml]]:
 +
* https://github.com/elastic/helm-charts/blob/main/elasticsearch/values.yaml
 +
 
 +
[[Prometheus]]:
 +
* <code>[[prometheus_values.yml]]</code>
 +
 
 +
== Related ==
 +
* <code>[[elasticsearch_values.yaml]]</code>
 +
* <code>[[persistence:]]</code>
 +
* [[Consul]]: https://www.consul.io/docs/k8s/helm
 +
* <code>[[helm create]]</code>
 +
* <code>[[--set]]</code>, [[set]], [[set_list]]
 +
* <code>[[.Values]]</code>
 +
* <code>[[.Release]]</code>
 +
* <code>[[.Chart]]</code>
 +
* <code>[[global:]]</code>
 +
* <code>[[configFiles:]]</code>
 +
* <code>[[serviceAccount:]]</code>
 +
* <code>[[extraEnvVarsSecret:]]</code>
 +
* [[repository:]]
 +
 
 +
== [[Helm]] ==
 +
* <code>[[helm show values]]: [[helm show values elastic/elasticsearch]]</code>
 +
* <code>[[helm show values --help]]</code>
 +
* <code>[[helm get values]]: [[helm get values elasticsearch --all]]</code>
 +
* <code>[[helm install --values]]</code>
 +
* <code>[[helm upgrade --reuse-values]]</code>
  
 
== See also ==
 
== See also ==
* {{Helm}}
+
* {{values.yaml}}
 +
* {{helm upgrade}}
 +
* {{helm install}}
  
 
[[Category:Helm]]
 
[[Category:Helm]]

Revision as of 08:35, 10 September 2024

helm create my-chart
mychart/
 Chart.yaml
 values.yaml
 charts/
 templates/
 ...

Update installed helm

  • helm upgrade -f ingress-controller/values.yml nginx-ingress stable/nginx-ingress

Example: helm create

helm create my-first-chart
Creating my-first-chart

find my-first-chart
my-first-chart
my-first-chart/Chart.yaml
my-first-chart/charts
my-first-chart/.helmignore
my-first-chart/templates
my-first-chart/templates/deployment.yaml
my-first-chart/templates/NOTES.txt
my-first-chart/templates/ingress.yaml
my-first-chart/templates/tests
my-first-chart/templates/tests/test-connection.yaml
my-first-chart/templates/service.yaml
my-first-chart/templates/serviceaccount.yaml
my-first-chart/templates/_helpers.tpl
my-first-chart/values.yaml

Examples

Grafana example:

Elasticsearch example, elasticsearch_values.yaml:

Prometheus:

Related

Helm

See also

Advertising: