helm no repositories found. You must add one before updating code example

Example: Error: no repositories found. You must add one before updating

# Below command is not working
$ helm repo add stable https://kubernetes-charts.storage.googleapis.com/

Error: repo "https://kubernetes-charts.storage.googleapis.com/" is no longer available; try "https://charts.helm.sh/stable" instead

#Try this one, it's wokring.
$ helm repo add stable https://charts.helm.sh/stable

"stable" has been added to your repositories

Tags:

Misc Example