Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

helm search and fetch not showing updated chart after upload to chartmuseum

I am using Helm to manage services in a Kubernetes cluster and use a chartmuseum to manage charts of my services.

After I've added the repo with the command helm repo add URL, helm can interact with my repo, e.g. install available charts with helm install NAME, or view all charts with helm search.

Now I face the following problem:

After creating or updating a new chart, I upload it with the command:
curl --data-binary "@FILENAME.tgz" http://REPOURL:REPOPORT/api/charts.

When I perform helm search, I expect to see the new chart or the updated version of the chart. This is not the case. Further, when I perform helm fetch NAME, I receive the old version of the updated chart.

In order to see the new or updated chart and use it, I have to re-add the repo (with the same name, otherwise it gets confusing).

Is there a way to refresh the list of available charts, without re-adding the repo?

like image 415
Thomas Böhm Avatar asked Oct 16 '25 15:10

Thomas Böhm


1 Answers

The state of a repository is cached on your disk. When you update the remote repository you need to run helm repo update to retrieve the update before you can access it.

like image 190
Lukas Eichler Avatar answered Oct 18 '25 11:10

Lukas Eichler



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!