Helm Chart icon

Helm Chart

Perform operations on Helm charts

Actions2

Overview

This node interacts with Helm chart repositories to retrieve information about Helm charts. Specifically, for the "Helm Chart" resource and the "Get Default Values" operation, it fetches the default values of a specified Helm chart version from a given repository URL. This is useful in scenarios where you want to programmatically inspect or use the default configuration values of a Helm chart before deploying it.

Practical examples include:

  • Automating deployment pipelines by fetching default Helm chart values to customize them dynamically.
  • Validating or auditing Helm chart configurations without manual inspection.
  • Integrating Helm chart metadata retrieval into broader infrastructure-as-code workflows.

Properties

Name Meaning
Repository URL URL of the Helm chart repository. For HTTP repositories, it must start with http:// or https://. For OCI repositories, use oci:// or leave the scheme empty.
Chart Name The name of the Helm chart to query.
Chart Version (Optional) Specific version of the Helm chart. If not provided, the latest version will be used.
Authentication Boolean flag indicating whether authentication is required to access the Helm repository.
Credentials The credentials to use for authentication when accessing the Helm repository. Required if Authentication is enabled.

Output

The node outputs an array with one item containing a JSON object structured as follows:

  • success: A boolean indicating whether the operation succeeded.
  • values: An object containing the default values of the Helm chart (present only if success is true).
  • error: A string describing the error message (present only if success is false).

Example output on success:

{
  "success": true,
  "values": {
    // default Helm chart values here
  }
}

Example output on failure:

{
  "success": false,
  "error": "Repository URL must be specified"
}

The node does not output binary data.

Dependencies

  • Requires access to the Helm chart repository URL provided by the user.
  • If authentication is enabled, requires valid credentials for the Helm repository.
  • Uses internal utility functions to determine repository type and fetch Helm chart data.
  • No additional external services beyond the Helm repository itself are required.

Troubleshooting

  • Missing Repository URL or Chart Name: The node throws errors if these mandatory inputs are missing. Ensure these fields are correctly filled.
  • Authentication Failures: If authentication is enabled but credentials are incorrect or missing, the node will fail to fetch data. Verify that the correct credentials are supplied.
  • Unsupported Repository Type: The node distinguishes between HTTP and OCI repositories. Using an unsupported repository URL format may cause failures.
  • Network Issues: Connectivity problems to the Helm repository will result in errors. Check network access and repository availability.
  • Chart Version Not Found: Specifying a non-existent chart version may cause the node to return empty or error responses. Try omitting the version to get the latest.

Links and References

Discussion