You don't actually need helm at all to accomplish this.
Let's say you're trying to find the list of packages in https://charts.helm.sh/stable/
.
Just add index.yaml
to the URL, so you get https://charts.helm.sh/stable/index.yaml
. This contains a list of everything in the repo.
Additionally, you can use yq
to get this data in a more useful format:
$ curl https://charts.helm.sh/stable/index.yaml | yq --compact-output '.entries | to_entries | .[].value[] | {name, version}'
{"name":"acs-engine-autoscaler","version":"2.2.2"}
{"name":"acs-engine-autoscaler","version":"2.2.1"}
{"name":"acs-engine-autoscaler","version":"2.2.0"}
...