ChartMuseum API

Article ID:360035624272
1 minute readKnowledge base

Issue

  • I have an issue with cloudbees-core chart: It is not listed, It cannot be downloaded, etc.

Environment

Resolution

At the moment of writting this article, the ChartMuseum API allows you to:

  • Helm Chart Repository: index, download

  • Chart Manipulation: list, describe, upload, delete

  • Server Info: health checks

Example

One cloudbees-core chart version is listed under helm search but it is not available by helm fetch

$> helm search repo cloudbees/cloudbees-core -l

NAME                    	CHART VERSION     	APP VERSION	DESCRIPTION
cloudbees/cloudbees-core	2.164.1.2         	2.164.1.2  	The Continuous Delivery Solution for Enterprises
cloudbees/cloudbees-core	3.6.0+4d2e34de1e86	2.190.2.2  	The Continuous Delivery Solution for Enterprises
cloudbees/cloudbees-core	3.5.0             	2.176.4.3  	The Continuous Delivery Solution for Enterprises
cloudbees/cloudbees-core	3.4.1             	2.176.3.3  	The Continuous Delivery Solution for Enterprises
cloudbees/cloudbees-core	2.176.203         	2.176.2.3  	The Continuous Delivery Solution for Enterprises
cloudbees/cloudbees-core	2.176.104         	2.176.1.4  	The Continuous Delivery Solution for Enterprises
cloudbees/cloudbees-core	2.164.302         	2.164.3.2  	The Continuous Delivery Solution for Enterprises

$>  helm fetch cloudbees/cloudbees-core --version 2.164.1.2
Error: chart "cloudbees-core" matching version "2.164.1.2" not found in cloudbees index. (try 'helm repo update'). improper constraint: 2.164.1.2

Looking at Chart Manipulation methods, we find describe a chart version GET /api/charts/<name>/<version>.

curl -X GET https://charts.cloudbees.com/public/cloudbees/api/charts/cloudbees-core/2.164.1.2
{"error":"improper constraint: 2.164.1.2"}

There is a problem with the Chart museum version, it seems that it does not support four coordinates (improper constraint).

Tested product/plugin version

The latest update of this article has been tested with