რედაქტირება

გაზიარება არხიდან:


HelmInstaller@0 - Helm tool installer v0 task

Use this task to install Helm and Kubernetes on an agent machine.

This version of the task is deprecated; use HelmInstaller@1.

Use this task to install Helm and Kubernetes on an agent machine.

Syntax

# Helm tool installer v0
# Install Helm and Kubernetes on an agent machine.
- task: HelmInstaller@0
  inputs:
    helmVersion: '2.14.1' # string. Required. Helm Version Spec. Default: 2.14.1.
    #checkLatestHelmVersion: true # boolean. Check for latest version of Helm. Default: true.
  # Prerequisite
    #installKubeCtl: true # boolean. Install Kubectl. Default: true.
    #kubectlVersion: '1.8.9' # string. Optional. Use when installKubeCtl == true. Kubectl Version Spec. Default: 1.8.9.
    #checkLatestKubeCtl: true # boolean. Optional. Use when installKubeCtl == true. Check for latest version of kubectl. Default: true.
# Helm tool installer v0
# Install Helm and Kubernetes on an agent machine.
- task: HelmInstaller@0
  inputs:
    helmVersion: '2.9.1' # string. Required. Helm Version Spec. Default: 2.9.1.
    #checkLatestHelmVersion: true # boolean. Check for latest version of Helm. Default: true.
  # Prerequisite
    #installKubeCtl: true # boolean. Install Kubectl. Default: true.
    #kubectlVersion: '1.8.9' # string. Optional. Use when installKubeCtl == true. Kubectl Version Spec. Default: 1.8.9.
    #checkLatestKubeCtl: true # boolean. Optional. Use when installKubeCtl == true. Check for latest version of kubectl. Default: true.
# Helm tool installer v0
# Install Helm and Kubernetes on agent machine.
- task: HelmInstaller@0
  inputs:
    helmVersion: '2.9.1' # string. Required. Helm Version Spec. Default: 2.9.1.
    #checkLatestHelmVersion: true # boolean. Check for latest version of Helm. Default: true.
  # Prerequisite
    #installKubeCtl: true # boolean. Install Kubectl. Default: true.
    #kubectlVersion: '1.8.9' # string. Optional. Use when installKubeCtl == true. Kubectl Version Spec. Default: 1.8.9.
    #checkLatestKubeCtl: true # boolean. Optional. Use when installKubeCtl == true. Check for latest version of kubectl. Default: true.

Inputs

helmVersion - Helm Version Spec
string. Required. Default value: 2.14.1.

Specifies the version of Helm to install.


helmVersion - Helm Version Spec
string. Required. Default value: 2.9.1.

Specifies the version of Helm to install.


checkLatestHelmVersion - Check for latest version of Helm
boolean. Default value: true.

Checks for the latest version of Helm.


installKubeCtl - Install Kubectl
boolean. Default value: true.

Installs Kubectl.


kubectlVersion - Kubectl Version Spec
string. Optional. Use when installKubeCtl == true. Default value: 1.8.9.

Specifies the version of Kubectl to install.


checkLatestKubeCtl - Check for latest version of kubectl
boolean. Optional. Use when installKubeCtl == true. Default value: true.

Checks for the latest version of Kubectl.


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

There is a newer version of this task available at HelmInstaller@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 2.115.0 or greater
Task category Tool