You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the repository has been added to the repository index file, the repository name can be used as an alias of URL. Use alias: or @ followed by repository names.
Unable to save changes: application spec for my-app is invalid: InvalidSpecError: Unable to generate manifests in my-app: rpc error: code = Unknown desc = `helm dependency build` failed exit status 1: Error: could not find protocol handler for: alias
Hi,
it "should" be a small change, but maybe somebody who is far more experienced in go, ArgoCD behavior/processes and how to contribute can make a pull request (the checklist is very long): ffppmm@b5fa9ee
Thanks @ffppmm for the PR. Hope it gets merged soon! I guess the workaround is to use @reponame instead of alias:reponame while defining the dependency in the chart.
Checklist:
argocd version
.Describe the bug
https://helm.sh/docs/chart_best_practices/dependencies/#repository-urls
But in ArgoCD Code only @ ist considered, see the if.
https://github.com/argoproj/argo-cd/blob/master/reposerver/repository/repository.go#L1020
To Reproduce
Create a Chart.yaml with dependency repository: "alias:my-repo"
Expected behavior
Repository works with helm dependency build
Version
v2.8.4
v2.7.14
Logs
As mentioned here:
#7436 (comment)
Looking forward to a fix,
Regards Philipp
The text was updated successfully, but these errors were encountered: