.. _kubernetes.core.helm_template_module: ***************************** kubernetes.core.helm_template ***************************** **Render chart templates** .. contents:: :local: :depth: 1 Synopsis -------- - Render chart templates to an output directory or as text of concatenated yaml documents. Parameters ---------- .. raw:: html
| Parameter | Choices/Defaults | Comments | |
|---|---|---|---|
|
binary_path
path
|
The path of a helm binary to use.
|
||
|
chart_ref
path
/ required
|
Chart reference with repo prefix, for example,
nginx-stable/nginx-ingress.Path to a packaged chart.
Path to an unpacked chart directory.
Absolute URL.
|
||
|
chart_repo_url
string
|
Chart repository URL where the requested chart is located.
|
||
|
chart_version
string
|
Chart version to use. If this is not specified, the latest version is installed.
|
||
|
dependency_update
boolean
added in 2.4.0
|
|
Run helm dependency update before the operation.
The dependency_update option require the add of
dependencies block in Chart.yaml/requirements.yaml file.For more information please visit https://helm.sh/docs/helm/helm_dependency/
aliases: dep_up |
|
|
disable_hook
boolean
added in 2.4.0
|
|
Prevent hooks from running during install.
|
|
|
include_crds
boolean
|
|
Include custom resource descriptions in rendered templates.
|
|
|
insecure_registry
boolean
added in 5.1.0
|
|
Skip TLS certificate checks for the chart download
|
|
|
output_dir
path
|
Output directory where templates will be written.
If the directory already exists, it will be overwritten.
|
||
|
plain_http
boolean
added in 6.1.0
|
|
Use HTTP instead of HTTPS when working with OCI registries
Requires Helm >= 3.13.0
|
|
|
release_name
string
added in 2.4.0
|
Release name to use in rendered templates.
aliases: name |
||
|
release_namespace
string
added in 2.4.0
|
namespace scope for this request.
|
||
|
release_values
dictionary
|
Default: {}
|
Values to pass to chart.
aliases: values |
|
|
set_values
list
/ elements=dictionary
added in 2.4.0
|
Values to pass to chart configuration.
|
||
|
value
string
/ required
|
Value to pass to chart configuration (e.g phase=prod).
|
||
|
value_type
-
|
|
Use
raw set individual value.Use
string to force a string for an individual value.Use
file to set individual values from a file when the value itself is too long for the command line or is dynamically generated.Use
json to set json values (scalars/objects/arrays). This feature requires helm>=3.10.0. |
|
|
show_only
list
/ elements=string
added in 2.4.0
|
Default: []
|
Only show manifests rendered from the given templates.
|
|
|
update_repo_cache
boolean
|
|
Run
helm repo update before the operation. Can be run as part of the template generation or as a separate step. |
|
|
values_files
list
/ elements=string
|
Default: []
|
Value files to pass to chart.
Paths will be read from the target host's filesystem, not the host running ansible.
values_files option is evaluated before values option if both are used.
Paths are evaluated in the order the paths are specified.
|
|