Skip to content

Conversation

@MatheusFlausino
Copy link
Contributor

This PR adds the ability to configure a custom Helm download URL through the helm-download-url input parameter, providing better flexibility and reliability when the default Helm download source is unavailable.

Motivation:

  • Reliability: When the default Helm download URL (https://get.helm.sh/helm-{version}-linux-amd64.tar.gz) is unavailable due to service outages or network issues, users can now specify alternative download sources
  • Flexibility: Organizations with internal mirrors or specific compliance requirements can now use their preferred Helm distribution sources
  • Resilience: Reduces dependency on a single download source, improving the overall reliability of CI/CD pipelines

Changes:

  • Added helm-download-url input parameter to action.yml with the default value maintained for backward compatibility
  • Modified installHelm() function in setup.js to accept and use the custom download URL
  • Updated index.js to pass the helm-download-url input to the installHelm() function
  • Updated README.md documentation to include the new parameter

Usage Example:

- name: Setup helmfile
  uses: mamezou-tech/setup-helmfile@v2.1.0
  with:
    helm-download-url: "https://your-mirror.com/helm-{version}-linux-amd64.tar.gz"

Backward Compatibility:

This change is fully backward compatible. If no custom URL is provided, the action will use the original default URL, ensuring existing workflows continue to work without modification.

Testing:

  • Verified that the default behavior remains unchanged when no custom URL is provided
  • Tested with custom download URLs to ensure proper functionality
  • Updated documentation to reflect the new parameter

- Introduced a new input parameter `helm-download-url` in action.yml to allow custom Helm download URLs.
- Modified the `installHelm` function in setup.js to accept the new download URL parameter, enhancing flexibility in Helm installation.
- Updated the call to `installHelm` in index.js to pass the new parameter.
@kondoumh kondoumh added the enhancement New feature or request label Oct 30, 2025
@kondoumh kondoumh self-requested a review October 30, 2025 10:48
Copy link
Member

@kondoumh kondoumh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the great PR, @MatheusFlausino!! Adding the helm-download-url input is very helpful — much appreciated.

@kondoumh kondoumh merged commit d45947c into mamezou-tech:master Oct 30, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants