Skip to content

Add support for JSON index to chartmuseum #738

Description

@MeurillonGuillaume

Recently a PR was merged into Helm (helm/helm#12245) where support was added to store repository indexes in JSON format. This is especially helpful in situations where the repository is very large. The problem that was solved here is that parsing the YAML-index is slow, and it could be sped up if the index was parsed as JSON instead.

I have personally noticed our chartmuseum becoming slower over time as it grew, and looked into chartmuseum compatibility with this fix. Some digging in Helm learned me that one of our issues is in fact parsing the index.yaml returned by chartmuseum.

I checked, and chartmuseum has no support for what was added in the mentionned PR yet. I felt like this was a nice option to add for people with large repositories. I'm opening this issue for suggestions, and I'm also submitting a PR with the changes needed to generate a JSON index.yaml.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions