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
已提問 2 個月前檢視次數 221 次
2 個答案
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
已回答 2 個月前
0
Docker pull public.ecr.aws/aws-ec2/aws-node-termination-handler:v1.20.0

Will download the docker image

profile picture
專家
已回答 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南