Skip to content

Failed to Import Helm Charts from .tar, .gz, and .zip Archives #748

Open
@ritesh-karankal

Description

@ritesh-karankal

Current Behavior

Meshery currently fails to import Helm charts packaged in .tar, .gz, and .zip formats, even though these formats are listed as supported. Only .tgz and .tar.gz archives are successfully recognized and imported as valid Helm charts.

When attempting to import a .gz file, for example, the system returns the following error:

the extension '.gz' is not supported by the system

This suggests a mismatch between the supported file types declared (e.g., ValidHelmChartFileExtensions) and the actual behavior.


Expected Behavior

Meshery should be able to handle Helm charts compressed in any of the following common archive formats:

  • .tgz
  • .tar.gz
  • .tar
  • .gz
  • .zip

Meshery is expected to:

  • ✅ Detect and validate the correct file extension
  • ✅ Extract the archive (regardless of compression format)
  • ✅ Locate the Chart.yaml file within the extracted structure
  • ✅ Recognize the extracted content as a valid Helm chart
  • ✅ Render and store the Helm-based design

Screenshots/Logs

Image

Image

Image

Environment

  • Host OS: Mac Linux Windows
  • Platform: Docker or Kubernetes
  • Meshery Server Version: stable-v
  • Meshery Client Version: stable-v

To Reproduce

Via Meshery UI:

  1. Navigate to Designs > Import
  2. Select an archive file (e.g., .tar, .gz, or .zip) containing a valid Helm chart
  3. Observe the error

Via Meshery CLI:

mesheryctl design import -f <path-or-URL> -s helm -n example-chart

Contributor Guides and Handbook

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions