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
posta 2 mesi fa218 visualizzazioni
2 Risposte
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
con risposta 2 mesi fa
0
Docker pull public.ecr.aws/aws-ec2/aws-node-termination-handler:v1.20.0

Will download the docker image

profile picture
ESPERTO
con risposta 2 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande