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
demandé il y a 2 mois221 vues
2 réponses
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
répondu il y a 2 mois
0
Docker pull public.ecr.aws/aws-ec2/aws-node-termination-handler:v1.20.0

Will download the docker image

profile picture
EXPERT
répondu il y a 2 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions