How do i update helm repo to the latest version

12/10/2021

I am trying to update my helm repo to the latest version using the below command. The repo name is returned from helm repo list. My helm version is v3.3.1

helm repo update <repo name>

but instead i get the below.

Error: "helm repo update" accepts no arguments

Usage:  helm repo update [flags]
-- eagercoder
helm3
kubernetes
kubernetes-helm

1 Answer

12/10/2021

You need a newer version of Helm; the option you're looking for seems to have been added in Helm 3.7.0. The Helm 3.7.0 release notes include:

helm repo update now accepts an optional repository name

If you can't upgrade to a newer version of Helm, you can still run helm repo update with no additional arguments to update all repositories' data.

-- David Maze
Source: StackOverflow