Helm upgrade not working: it does not upgrade the chart to the latest version
I see on ArtifactHub that there’s a new version of a chart, so I try to upgrade the chart on my Kubernetes cluster.
For example I run this command to update the metrics-server chart:
helm upgrade metrics-server metrics-server/metrics-server
The upgrade apparently succeeds (there aren’t any errors), however the chart version and app version remain the same (and they are not the last version listed on ArtifactHub).
Helm is applying the latest chart version based on the information that it has cached locally.
You first need to update the local copy with this command:
helm repo update
helm upgrade will work as expected.