I have a helm repo:
helm repo list
NAME URL
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.
I have a helm repo:
helm repo list
NAME URL
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.
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]
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.
I believe you're looking for:
helm search
In your case
helm search stable
or
helm search local
EDIT: Doc link: https://helm.sh/docs/using_helm/#helm-search-finding-charts
You can use grep as well as follows.
Get a list of all of the repos added.
helm repo list
Update your repos
helm repo update
Search for 'nginx' in all of the repos that you have
helm search repo nginx
List all the packages in bitnami
helm search repo bitnami
Finally you can use grep to filter out in a given repo
helm search repo bitnami | grep nginx