Muokkaa

Jaa


HelmInstaller@1 - Helm tool installer v1 task

Use this task to install Helm on an agent machine.

Syntax

# Helm tool installer v1
# Install Helm on an agent machine.
- task: HelmInstaller@1
  inputs:
    #helmVersionToInstall: 'latest' # string. Helm Version Spec. Default: latest.

Inputs

helmVersionToInstall - Helm Version Spec
string. Default value: latest.

Specifies the version of Helm to install. Acceptable values include any semantic version string, like 2.14.1.


Task control options

All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.

Output variables

None.

Remarks

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

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.

Examples

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

Requirements

Requirement Description
Pipeline types YAML, Classic build, Classic release
Runs on Agent, DeploymentGroup
Demands None
Capabilities Running this task satisfies the following demands for any subsequent tasks in the same job: Helm
Command restrictions Any
Settable variables Any
Agent version All supported agent versions.
Task category Tool