Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I list all available charts under a helm repo?

Tags:

I have a helm repo:

helm repo list

NAME URL

stable https://kubernetes-charts.storage.googleapis.com

local http://127.0.0.1:8879/charts

and I want to list all the charts available or search the charts under stable helm repo.

How do I do this?

No command so far to list available charts under a helm repo or just verify that a chart exists.

like image 745
uberrebu Avatar asked May 03 '19 16:05

uberrebu


People also ask

Where are the Helm charts stored?

Helm charts are stored in chart repositories that are hosted in container registries, either on a local system or online.


Video Answer


2 Answers

First, always update your local cache:

helm repo update 

Then, you can list all charts by doing:

helm search repo 

Or, you can do a case insensitive match on any part of chart name using the following:

helm search repo [your_search_string] 

Lastly, if you want to list all the versions you can use the -l/--version argument:

# Lists all versions of all charts helm search repo -l   # Lists all versions of all chart names that contain search string helm search repo -l [your_search_string] 
like image 119
rouble Avatar answered Sep 30 '22 03:09

rouble


You can use helm search to search for Helm charts. There is an interesting option that you can pass to helm search that will let you use regex to search for Charts. That way, you can pass a regex that matches with any Chart name. For example

helm search -r ".*" 

That will show all the Charts on all repositories.

like image 26
Jose Armesto Avatar answered Sep 30 '22 02:09

Jose Armesto