sonatype-nexus-community / nexus-repository-helm

At the Helm, Helm Yeah, v k8s
Eclipse Public License 1.0
97 stars 71 forks source link

Helm proxy doesn't work for repos with internal relative paths #127

Open tmckeag opened 4 years ago

tmckeag commented 4 years ago

Thanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.

For example, assume we are proxying

https://torysinfrastructure/helm

Inside that repo is a chart in a directory appfamily/myapp-1.0.0.tgz, such that the URL to the chart is https://torysinfrastructure/helm/appfamily/myapp-1.0.0.tgz

Therefore, when Nexus proxies this repo, the generated index.yaml for the proxy should refer to the chart as appfamily/myapp-1.0.0.tgz. Today, it reads simply myapp-1.0.0.tgz. The index builder logic in the proxy should respect the relative paths inside the repo.

almorgv commented 4 years ago

IMO its a critical issue. Why it has not been fixed yet? We have stuck in this today. This bug makes nexus unusable for numerous helm chart repositories.

LeoQuote commented 4 years ago

related : https://github.com/sonatype-nexus-community/nexus-repository-helm/issues/8

mlukaretkyi commented 3 years ago

Related Jira ticket. https://issues.sonatype.org/browse/NEXUS-24682