Difference between revisions of "Helm template"
Jump to navigation
Jump to search
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | <code>[[helm template]]</code> render [[chart templates]] locally and display the output. | ||
* https://helm.sh/docs/helm/helm_template/ | * https://helm.sh/docs/helm/helm_template/ | ||
helm template [NAME] [CHART] [flags] | helm template [NAME] [CHART] [flags] | ||
Line 5: | Line 6: | ||
helm template | helm template | ||
Error: [[chart]] is required | Error: [[chart]] is required | ||
+ | |||
+ | helm template mytest | ||
+ | [[Error: non-absolute URLs should be in form of]] repo_name/path_to_chart, got: mytest | ||
[[helm template --help]] | [[helm template --help]] | ||
+ | [[helm template --debug]] | ||
helm template \ | helm template \ | ||
Line 18: | Line 23: | ||
-f ./values_aws.yaml -f /tmp/your_decrypted_secrets.yaml ./path/to/file --name backup | [[kubectl apply|kubectl --namespace]] YourEnv apply [[--dry-run]] -f - | -f ./values_aws.yaml -f /tmp/your_decrypted_secrets.yaml ./path/to/file --name backup | [[kubectl apply|kubectl --namespace]] YourEnv apply [[--dry-run]] -f - | ||
+ | W0630 12:07:48.988016 79663 helpers.go:636] --dry-run is deprecated and can be replaced with [[--dry-run=client]]. | ||
+ | secret/your-secret-name1 created (dry run) | ||
+ | secret/your-secret-name1 created (dry run) | ||
+ | configmap/prod-your-configmap-name1 created (dry run) | ||
+ | configmap/prod-your-configmap-name2 created (dry run) | ||
− | + | == Related == | |
+ | * <code>[[helm install]], [[helm upgrade]]</code> | ||
+ | * <code>[[helm lint --debug --strict]]</code> | ||
+ | * <code>[[helm get manifest]]</code> | ||
+ | * <code>[[- if eq "string" (printf "%T" .Values.extraVolumeMounts)]]</code> | ||
+ | * [[Data Source: helm template]] | ||
== See also == | == See also == | ||
+ | * {{helm template}} | ||
* {{helm}} | * {{helm}} | ||
[[Category:Helm]] | [[Category:Helm]] |
Latest revision as of 18:17, 15 February 2024
helm template
render chart templates locally and display the output.
helm template [NAME] [CHART] [flags]
helm template Error: chart is required
helm template mytest Error: non-absolute URLs should be in form of repo_name/path_to_chart, got: mytest
helm template --help helm template --debug
helm template \ --namespace YourEnv \ --set registryBase=${ECR_BASE} \ --set imageTag=${IMAGE_TAG} \ --set gitVersion="manual" \ --set gitBranch=yourenv \ --set secrets.frontApi.dbUrl=${API_DB_URL} \ --set secrets.riskApi.dbUrl=${RISK_DB_URL} \ -f ./values_aws.yaml -f /tmp/your_decrypted_secrets.yaml ./path/to/file --name backup | kubectl --namespace YourEnv apply --dry-run -f -
W0630 12:07:48.988016 79663 helpers.go:636] --dry-run is deprecated and can be replaced with --dry-run=client. secret/your-secret-name1 created (dry run) secret/your-secret-name1 created (dry run) configmap/prod-your-configmap-name1 created (dry run) configmap/prod-your-configmap-name2 created (dry run)
Related[edit]
helm install, helm upgrade
helm lint --debug --strict
helm get manifest
- if eq "string" (printf "%T" .Values.extraVolumeMounts)
- Data Source: helm template
See also[edit]
helm template, --help
- Helm,
helm
[repo | template
|list
|install | unsintall
|create
|show | pull | push
|status | history | plugin
|search | upgrade | delete | lint | test | package | dependency | get | rollback | version | --help]
,helm@2
, Chart file structure, Helm Charts,values.yaml, chart.yaml
, Helm functions, Helm versions,helmfile
Deprecated:init
, variables, Mapkubeapis, .helmignore
Advertising: