Skip to content

step execution failed: step 3 met error threshold of 1: failed to run step "helm-update-chart": failed to update chart dependencies: could not find protocol handler for: alias #3894

@david-curran-90

Description

@david-curran-90

Checklist

  • [ *] I've searched the issue queue to verify this is not a duplicate bug report.
  • [ *] I've included steps to reproduce the bug.
  • [ *] I've pasted the output of kargo version.
  • [ *] I've pasted logs, if applicable.

Description

We use aliases in our helm Chart.yaml

dependencies:
  - name: my-chart
     version: 1.22.0
     repository: alias:dr

In the promotion tasks we are doing this to update the chart

  steps:
  - uses: helm-update-chart
    config:
      path: ${{ vars.appGitPath }}/${{ vars.appHelmPath }}
      charts:
      - repository: alias:dr
        name: my-chart
        version: 1.22.0

However this causes an issue in Kargo

failed to run step "helm-update-chart": failed to update chart dependencies: could not find protocol handler for: alias

I have tried using just the alias name dr and also escaping alias\:dr but these just cause issues with not being able to find any entry for the dependency

failed to run step "helm-update-chart": no dependency in Chart.yaml matched update with repository dr and name

Steps to Reproduce

  • Use a helm chart with an alias in the dependency
  • Use the helm-update-chart step to update the dependency

Version

1.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working as intended; If unsure that something IS a bug, start a discussion insteadneeds/areaIssue or PR needs to be labeled to indicate what parts of the code base are affectedneeds/priorityPriority has not yet been determined; a good signal that maintainers aren't fully committedstaleStalled with a lack of maintainer commitment; Likely to be closed to reduce noise in the issue queue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions