Difference between revisions of "Values file: values.yaml"

From wikieduonline
Jump to navigation Jump to search
Line 29: Line 29:
 
* <code>[[.Chart]]</code>
 
* <code>[[.Chart]]</code>
 
* <code>[[global:]]</code>
 
* <code>[[global:]]</code>
 +
 
=== Helm ===
 
=== Helm ===
 
  [[helm show values]]:  [[helm show values elastic/elasticsearch]]
 
  [[helm show values]]:  [[helm show values elastic/elasticsearch]]
Line 34: Line 35:
 
  [[helm install --values]]
 
  [[helm install --values]]
 
  [[helm get values elasticsearch --all]]
 
  [[helm get values elasticsearch --all]]
 +
[[helm upgrade --reuse-values]]
  
 
== See also ==
 
== See also ==

Revision as of 09:29, 14 November 2022

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:

Related

elasticsearch_values.yaml

Helm

helm show values:  helm show values elastic/elasticsearch
helm show values --help
helm install --values
helm get values elasticsearch --all
helm upgrade --reuse-values

See also

Advertising: