helm: helm chart pull --> Error: tag explicitly required

I’m getting an error while doing helm chart pull myregistry.azurecr.io/myapp:13546: Error: tag explicitly required.

I was able previously to successfully run helm chart push myregistry.azurecr.io/myapp:13546, so I’m confirming that my chart resides in my registry. Furthermore, if I’m trying with a Tag X.X.X or vX it’s working well.

Output of helm version: version.BuildInfo{Version:"v3.2.1", GitCommit:"fe51cd1e31e6a202cba7dead9552a6d418ded79a", GitTreeState:"clean", GoVersion:"go1.13.10"}

Output of kubectl version: N/A

Cloud Provider/Platform (AKS, GKE, Minikube etc.): with Azure Container Registry (ACR) with the OCI experimental support: https://docs.microsoft.com/azure/container-registry/container-registry-helm-repos#use-the-helm-3-client

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 18 (9 by maintainers)

Commits related to this issue

Most upvoted comments

This should be fixed in Helm 3.7+ with the recent changes to the OCI getter implementation. helm chart pull has been removed entirely in favour of Helm’s getter mechanism. Now you can pull charts from an OCI registry similar to a chart repository.

To fetch the latest release:

helm fetch oci://myregistry.com/myapp

To fetch v1.0.0:

helm fetch oci://myregistry.com/myapp --version v1.0.0

See https://helm.sh/docs/topics/registries/ for more information.

Hi, I think the bug still occures. i have image xxx.azurecr.io/helm/schema-service:0.1.0 and get the same error. .\environment-executables\helm.exe version version.BuildInfo{Version:"v3.5.4", GitCommit:"1b5edb69df3d3a08df77c9902dc17af864ff05d1", GitTreeState:"clean", GoVersion:"go1.15.11"}

image

Getting updates for unmanaged Helm repositories...
...Unable to get an update from the "oci://xxx.azurecr.io/helm" chart repository:
        tag explicitly required
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "kubernetes-dashboard" chart repository
...Successfully got an update from the "traefik" chart repository
...Successfully got an update from the "grafana" chart repository
...Successfully got an update from the "bitnami" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 1 charts
Downloading schema-service from repo oci://xxx.azurecr.io/helm
0.1.0: Pulling from xxx.azurecr.io/helm/schema-service
Deleting outdated charts```


@mathieu-benoit - thanks for verifying. We need to improve the code for parsing references.

Related to https://github.com/helm/helm/issues/6977

Yep like mentioned on the description of the issue above, I could confirm that if the tag is in those formats: X.X.X or vX (prefixed with a v), it’s working fine.