Helm Push/Pull Error: scheme “OCI” not supported

There are a few issues reported by the developers when storing Helm charts in AWS ECR. Common errors occur when they are using the old version of the Helm chart. below is one of the many scenarios and others can be solved by just updating the Helm chart.

In case you would like to know what is OCI and how to install add charts into the ecr repo please visit my other blog Helm OCI based charts into AWS ECR and OCI feature

Case 1: When I run |helm push/pull| on a chart stored in ECR below is the error:-

helm pull oci://accountid.dkr.ecr.us-east-1.amazonaws.com/mychart --version 1.1.1
Error: scheme "oci" not supported

Now let’s check the version of the Helm chart installed on your local machine

$ helm version
version.BuildInfo{Version:"v1.1.1", GitCommit:"aaaaaaaaaa", GitTreeState:"clean", GoVersion:"aaaaaaaaaa"}

Now let’s upgrade the helm chart on Ubuntu:

 $ curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
 $ chmod 700 get_helm.sh
 $ ./get_helm.sh

It sometimes may require the refresh your |bashrc(source ~/.bashrc)| or optionally you can open another terminal and enter the version command again

$ helm version
version.BuildInfo{Version:"v1.1.1", GitCommit:"aaaaaaaaaaa", GitTreeState:"clean", GoVersion:"aaaaaaaaaaaa"}
helm pull oci://accountid.dkr.ecr.us-east-1.amazonaws.com/mychart --version 1.1.1
Pulled: accountid.dkr.ecr.us-east-1.amazonaws.com/oepgadmin:1.1.1
Digest: sha256:cafssdafsadfasdfasdfsdafewrwqerqwerweqrqerwweqrqre

Happy Helming…

2 thoughts on “Helm Push/Pull Error: scheme “OCI” not supported

  1. hey there and thank you to your info ?I抳e certainly picked up anything new from proper here. I did however expertise several technical issues the use of this website, since I skilled to reload the site lots of times previous to I may get it to load correctly. I have been brooding about if your web host is OK? No longer that I’m complaining, but sluggish loading instances instances will sometimes impact your placement in google and can injury your high-quality rating if advertising and ***********|advertising|advertising|advertising and *********** with Adwords. Anyway I抦 including this RSS to my email and could glance out for a lot extra of your respective interesting content. Ensure that you replace this once more very soon..

Leave a Reply

Your email address will not be published. Required fields are marked *