Portainer icon

Portainer

Interact with Portainer via API

Actions190

Helm → Helm Show

AI-generated

Overview

The Helm Show operation in this node allows users to retrieve detailed information about a Helm chart from a specified Helm repository. This is useful for inspecting charts before installation, such as viewing the chart metadata, default values, or README content. Practical scenarios include validating chart versions, previewing configuration options, or automating deployment pipelines by programmatically fetching chart details.

Properties

Name Meaning
Repo The URL of the Helm repository where the chart is hosted.
Chart The name of the Helm chart to retrieve information about.
Command The type of information to show about the chart. Options: chart, values, or readme.

Output

The node outputs JSON data containing the requested information about the Helm chart based on the selected command:

  • If chart is selected, the output includes chart metadata such as version, description, and maintainers.
  • If values is selected, the output contains the default values.yaml content of the chart.
  • If readme is selected, the output provides the README file content of the chart.

No binary data output is indicated.

Dependencies

  • Requires access to a Helm repository URL that hosts the desired charts.
  • No explicit external API keys are shown in the provided code snippet, but network access to the Helm repo is necessary.
  • No additional n8n credentials or environment variables are explicitly required beyond standard HTTP request capabilities.

Troubleshooting

  • Common issues:

    • Invalid or unreachable Helm repository URL may cause connection errors.
    • Specifying a non-existent chart name will likely result in an error or empty response.
    • Using an unsupported command value (other than chart, values, or readme) may cause unexpected behavior.
  • Error messages:

    • Connection timeouts or HTTP errors indicate network or repository availability problems.
    • Errors indicating missing chart or resource not found suggest incorrect chart names or repo URLs.
  • Resolutions:

    • Verify the Helm repository URL is correct and accessible.
    • Confirm the chart name exists in the specified repository.
    • Use only supported commands (chart, values, readme).

Links and References

Discussion