kuberneteskubernetes-helm

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


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.


Solution

  • 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]