.. _kubernetes.core.helm_pull_module:
*************************
kubernetes.core.helm_pull
*************************
**download a chart from a repository and (optionally) unpack it in local directory.**
Version added: 2.4.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- Retrieve a package from a package repository, and download it locally.
- It can also be used to perform cryptographic verification of a chart without installing the chart.
- There are options for unpacking the chart after download.
Requirements
------------
The below requirements are needed on the host that executes this module.
- helm >= 3.0, <4.0.0 (https://github.com/helm/helm/releases)
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
binary_path
path
|
|
The path of a helm binary to use.
|
|
chart_ca_cert
path
|
|
Verify certificates of HTTPS-enabled servers using this CA bundle.
Requires helm >= 3.1.0.
|
|
chart_devel
boolean
|
|
Use development versions, too. Equivalent to version '>0.0.0-0'.
Mutually exclusive with chart_version.
|
|
chart_ref
string
/ required
|
|
chart name on chart repository.
absolute URL.
|
|
chart_ssl_cert_file
path
|
|
Identify HTTPS client using this SSL certificate file.
Requires helm >= 3.1.0.
|
|
chart_ssl_key_file
path
|
|
Identify HTTPS client using this SSL key file
Requires helm >= 3.1.0.
|
|
chart_version
string
|
|
Specify a version constraint for the chart version to use.
This constraint can be a specific tag (e.g. 1.1.1) or it may reference a valid range (e.g. ^2.0.0).
Mutually exclusive with chart_devel.
|
|
destination
path
/ required
|
|
location to write the chart.
|
|
force
boolean
added in 6.3.0
|
|
Force download of the chart even if it already exists in the destination directory.
By default, the module will skip downloading if the chart with the same version already exists for idempotency.
When used with O(untar_chart=true), will remove any existing chart directory before extracting.
|
|
pass_credentials
boolean
|
|
Pass credentials to all domains.
|
|
plain_http
boolean
added in 6.1.0
|
|
Use HTTP instead of HTTPS when working with OCI registries
Requires Helm >= 3.13.0
|
|
provenance
boolean
|
|
Fetch the provenance file, but don't perform verification.
|
|
repo_password
string
|
|
Chart repository password where to locate the requested chart.
Required if repo_username is specified.
aliases: password, chart_repo_password
|
|
repo_url
string
|
|
chart repository url where to locate the requested chart.
aliases: url, chart_repo_url
|
|
repo_username
string
|
|
Chart repository username where to locate the requested chart.
Required if repo_password is specified.
aliases: username, chart_repo_username
|
|
skip_tls_certs_check
boolean
|
|
Whether or not to check tls certificate for the chart download.
Requires helm >= 3.3.0. Alias insecure_skip_tls_verify added in 5.3.0.
aliases: insecure_skip_tls_verify
|
|
untar_chart
boolean
|
|
if set to true, will untar the chart after downloading it.
|
|
verify_chart
boolean
|
|
Verify the package before using it.
|
|
verify_chart_keyring
path
|
|
location of public keys used for verification.
|