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
CloudBees Chartmuseum public URL: https://public-charts.artifacts.cloudbees.com/repository/public/
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
).