ansible-infra/ansible_collections/nullified/infrastructure/roles/helm/README.md

29 lines
921 B
Markdown

Helm
=========
This role handles the installation of the Helm binary and optionally supports version pining or unconditional upgrade.
Requirements
------------
Only tested and used on Debian (uses the `ansible.builtin.apt` module).
Role Variables
--------------
### `helm_binary_path`
Path where the Helm binary is installed (no discovery is performed so pre-existing binaries will remain untouched).
**Default value**: `helm_binary_path: /usr/local/bin/helm`
### `helm_install_version`
Version of Helm to install. It allows multiple values:
- empty: will install the binary if not already present, else nothing is changed,
- 'vX.Y.Z': will install the specified version (e.g. `v3.15.2`), upgrading / downgrading the local binary if required,
- latest: will install the latest available version unless the local binary is already up-to-date.
**Default value**: `helm_install_version: latest`
License
-------
MIT