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
gefragt vor 2 Monaten221 Aufrufe
2 Antworten
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
beantwortet vor 2 Monaten
0
Docker pull public.ecr.aws/aws-ec2/aws-node-termination-handler:v1.20.0

Will download the docker image

profile picture
EXPERTE
beantwortet vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen