Kubernetes Helm has the ability to work with remotely hosted Charts. While charts can be seen in the community provided charts, the charts themselves can be privately or separately hosted for an organization or individual.
There are currently 3 major ways to host your own chart repository:
- Helm provides a means to generate a chart repository that can be hosted on a web server, object storage, or via a similar setup.
- App Registry provides a system, similar to the handling of Docker images, to store charts. In this setup one can push or pull charts in a similar way to container images. There is a spec and Quay, the image hosting service, has implemented it. For Helm to interact with this API a plugin is required.
- Recently, ChartMuseum came into existance. ChartMuseum provides an API to push charts into a system that then leverages the out of the box APIs Helm works with.
This document looks to capture requirements for what a chart repository needs to include with details to help an implementor. A good requirement can be implemented by more than one different system. This is not looking to caputure how the system should work but rather what it should include.
- The ability to programatically retrieve a chart version
- The ability to search all charts and versions accessible by a user
- The ability to programatically add a new chart version to a repository
- Ability to mark a chart release as deprecated
- A method to have private charts tied to a user (Users and Organizations)
- A method to have private charts for a group (e.g., team or company) (Users and Organizations)
- A method to enable automation (e.g., bots) to operate on charts in place of a user (Users and Organization)
- A method to verify the integrity of a chart (Security and Auditing)
- Ability to mark a chart release as having a known security issue (Security and Auditing)
- A method to retrieve details on chart security releases (Security and Auditing)
- Logging of who performed CRUD charts and versions (Security and Auditing)
- A method for compatibility with N and N-1 versions of Helm, once Helm 3 is release
https://app.swaggerhub.com/apis/ant31/cnr-api/0.2.6