Difference between revisions of "Helm: values.yaml"
Jump to navigation
Jump to search
(46 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | + | * https://helm.sh/docs/chart_template_guide/values_files/ | |
+ | [[helm create my-chart]] | ||
{{helm files}} | {{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 == | == Example: helm create == | ||
{{helm create my-first-chart}} | {{helm create my-first-chart}} | ||
== Examples == | == Examples == | ||
− | Grafana example: | + | [[Grafana]] example: |
* https://github.com/helm/charts/blob/master/stable/grafana/values.yaml | * https://github.com/helm/charts/blob/master/stable/grafana/values.yaml | ||
− | Elasticsearch example: | + | [[Elasticsearch]] example, [[elasticsearch_values.yaml]]: |
* https://github.com/elastic/helm-charts/blob/main/elasticsearch/values.yaml | * https://github.com/elastic/helm-charts/blob/main/elasticsearch/values.yaml | ||
+ | |||
+ | [[Prometheus]]: | ||
+ | * <code>[[prometheus_values.yml]]</code> | ||
== Related == | == Related == | ||
− | * [[ | + | * <code>[[elasticsearch_values.yaml]]</code> |
− | * [[persistence:]] | + | * <code>[[persistence:]]</code> |
* [[Consul]]: https://www.consul.io/docs/k8s/helm | * [[Consul]]: https://www.consul.io/docs/k8s/helm | ||
* <code>[[helm create]]</code> | * <code>[[helm create]]</code> | ||
− | * <code>[[--set]]</code> | + | * <code>[[--set]]</code>, [[set]], [[set_list]] |
* <code>[[.Values]]</code> | * <code>[[.Values]]</code> | ||
* <code>[[.Release]]</code> | * <code>[[.Release]]</code> | ||
* <code>[[.Chart]]</code> | * <code>[[.Chart]]</code> | ||
* <code>[[global:]]</code> | * <code>[[global:]]</code> | ||
+ | * <code>[[configFiles:]]</code> | ||
+ | * <code>[[serviceAccount:]]</code> | ||
+ | * <code>[[extraEnvVars:]]</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 == | ||
+ | * {{values.yaml}} | ||
+ | * {{helm upgrade}} | ||
* {{helm install}} | * {{helm install}} | ||
− | |||
[[Category:Helm]] | [[Category:Helm]] |
Latest revision as of 10:15, 2 October 2024
helm create my-chart mychart/ Chart.yaml values.yaml charts/ templates/ ...
Update installed helm[edit]
helm upgrade -f ingress-controller/values.yml nginx-ingress stable/nginx-ingress
Example: helm create[edit]
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[edit]
Grafana example:
Elasticsearch example, elasticsearch_values.yaml:
Related[edit]
elasticsearch_values.yaml
persistence:
- Consul: https://www.consul.io/docs/k8s/helm
helm create
--set
, set, set_list.Values
.Release
.Chart
global:
configFiles:
serviceAccount:
extraEnvVars:
extraEnvVarsSecret:
- repository:
Helm[edit]
helm show values: helm show values elastic/elasticsearch
helm show values --help
helm get values: helm get values elasticsearch --all
helm install --values
helm upgrade --reuse-values
See also[edit]
values.yaml, helm show values, elasticsearch_values.yaml, configFiles:, repository:, extraEnvVarsSecret:, extraEnvVars:
helm upgrade [ --reuse-values | --atomic | --debug | --force | --reuse-values | --reset-values | --verify ], helm install, --help
helm install [ --set | --dry-run | --debug | --timeout | --namespace | --create-namespace | --generate-name | --help ] values.yaml
,helm upgrade --install
Advertising: