How to download the Helm Charts hosted on ECR

0

The requirement is quite simple, I want to download Helm Charts hosted on ECR. I have tried curl, wget but I get access denied.

  1. HELM CHART URI :- public.ecr.aws/aws-ec2/aws-node-termination-handler:v1.20.0
  2. ECR URL : https://gallery.ecr.aws/aws-ec2/aws-node-termination-handler

https://docs.aws.amazon.com/AmazonECR/latest/userguide/ECR_on_EKS.html#using-helm-charts-eks

I did refer this document, however it has steps for install Helm Chart not dowloading it.

If I could use 'helm pull' with ECR, how will the look like cmd.

AllOps
asked 2 months ago190 views
2 Answers
1

Hello there,

To use helm pull with ECR, the command will be as follows:

helm pull ecr-chart-demo oci://aws_account_id.dkr.ecr.region.amazonaws.com/chart_name

You will need to authenticate your Helm client to the Amazon ECR registry that your Helm chart is hosted before running the command above.

That said, from the two urls you shared, the HELM CHART URI is not Helm chart URI. It is a URI to a public container image and you can use docker pull command to fetch the docker image.

AWS
Olawale
answered 2 months ago
0
Docker pull public.ecr.aws/aws-ec2/aws-node-termination-handler:v1.20.0

Will download the docker image

profile picture
EXPERT
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions