Helm installer task

Azure DevOps Services

This task can be used for installing a specific version of helm binary on agents.

YAML snippet

# Helm tool installer
# Install Helm on an agent machine
- task: HelmInstaller@1
  inputs:
    #helmVersionToInstall: 'latest' # Optional

Task inputs

Parameters Description
helmVersionToInstall
Helm Version Spec
(Optional) The version of Helm to be installed on the agent. Acceptable values are latest or any semantic version string like 2.14.1
Default value: latest

The following YAML example showcases the installation of latest version of helm binary on the agent -

- task: HelmInstaller@1
  displayName: Helm installer
  inputs: 
    helmVersionToInstall: latest

The following YAML example demonstrates the use of an explicit version string rather than installing the latest version available at the time of task execution -

- task: HelmInstaller@1
  displayName: Helm installer
  inputs: 
    helmVersionToInstall: 2.14.1

Troubleshooting

HelmInstaller task running on a private agent behind a proxy fails to download helm package.

The HelmInstaller task does not use the proxy settings to download the file https://get.helm.sh/helm-v3.1.0-linux-amd64.zip. You can work around this by pre-installing Helm on your private agents.

Open source

This task is open source on GitHub. Feedback and contributions are welcome.