feat(role): add helm role
This commit is contained in:
parent
60a9f0a8cb
commit
d151db8ebf
8 changed files with 122 additions and 0 deletions
|
@ -0,0 +1,29 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue