Skip to content

[enhancement]: Support Helm Major Version Tags eg 3.x, 4.x in HelmInstaller@1 #22068

@AbhinavKU

Description

@AbhinavKU

Task name

HelmInstaller@1

Describe your feature request here

Summary
The current HelmInstaller task only accepts explicit semantic versions or the keyword latest for the helmVersionToInstall input. This limits the ability to automatically track the latest stable major version of Helm (e.g., Helm 3 or Helm 4).

Current Behavior
Specifies the version of Helm to install. Acceptable values include any semantic version string, like 2.14.1. or latest(default)
However, it does not accept major‑version‑only patterns such as 3.x or 4.x

- task: HelmInstaller@1
  inputs:
    helmVersionToInstall: '3.x'
Starting: HelmInstaller
==============================================================================
Task         : Helm tool installer
Description  : Install Helm on an agent machine
Version      : 1.272.0
Author       : Microsoft Corporation
Help         : https://aka.ms/azpipes-helm-installer-tsg
==============================================================================
##[error]Error: Version not specified in correct format. E.g: 1.8.2, v1.8.2, 2.8.2, v2.8.2.
Finishing: HelmInstaller

Requested Enhancement
Please extend helmVersionToInstall to accept the following formats:
3.x → resolves to the latest stable Helm 3 release
4.x → resolves to the latest stable Helm 4 release

This should use the official Helm endpoints below

# Helm 3
curl https://get.helm.sh/helm3-latest-version

# Helm 4
curl https://get.helm.sh/helm4-latest-version

Avoid using the GitHub API to pull the latest version, as unauthenticated requests frequently hit rate‑limit restrictions.

Benefits
Pipelines can automatically track the latest stable Helm major version
Reduces maintenance overhead for teams and follow the same version format accepted in UseNode@1

Example Desired Usage

- task: HelmInstaller@1
  inputs:
    helmVersionToInstall: '3.x'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions