sonatype / nexus-public

Sonatype Nexus Repository Open-source codebase mirror
https://www.sonatype.com/products/repository-oss-download
Eclipse Public License 1.0
1.97k stars 581 forks source link

Nexus not generating annotations in index.yaml file for charts #171

Open ghost opened 1 year ago

ghost commented 1 year ago
mrprescott commented 1 year ago

Thanks for filing this, @steporter. I'm not the team's helm expert; can you help me understand what this will help you do? We can explore adding support for this capability if there's enough demand.

ghost commented 1 year ago

As this is already supported by helm as a standard feature when running helm repo index, it would be good to support the same output that they generate.

There are several tools on the market that take advantage of these values. For example Rancher Server uses these values in the index.yaml file to see if only one version of a helm chart should be installed, more info can be found here.

Aside from Rancher we develop solutions for our clients that read these values before the chart is downloaded to make sure it meets the needs of the deployment. Our goal is to have Nexus built in to our solutions as the helm repo but this is a blocker for us moving forward.

mrprescott commented 1 year ago

@steporter Would you mind dropping me a line at my Sonatype email? I'd love to understand your requirements better.

ghost commented 1 year ago

Sure, I will do that.

kyleli666 commented 1 year ago

@mrprescott I have a similar problem The apiVersion: v2 is also not generated in "entries", causing Lens or OpenLens not able to list out the charts. In @steporter 's initial issue, it is also missing. image

Also someone else is looking for same help in the community https://community.sonatype.com/t/apiversion-missing-for-every-entry-in-the-helm-index-yaml/10464

farcop commented 1 year ago

We also need support of annotations at helm index

olegtrautvein commented 1 year ago

Hello. We have same problem. We are using annotations in Chart.yaml and need this info in index.yaml. Now we do manual helm repo index and moved to raw repo instead of helm repo, because nexus doesn't support annotations. Such bug request was reported before years ago: NEXUS-26120 and NEXUS-38687

ghost commented 12 months ago

Just wanted to see where this stands as we are still in need of this and would like to not use a git solution or other application.

alianman commented 1 week ago

We use Lens Desktop to install Helm charts from remote repository and after migrating to Nexus none of our charts are displayed at Lens. After some investigation we came to this issue with same problem of missing "apiVersion" field at index.yaml file. Unfortunetaly, now we will have to look for workarounds.