GithubHelp home page GithubHelp logo

Comments (4)

rothgar avatar rothgar commented on May 27, 2024 1

Thanks for pinging me on this. If it is found to be an ECR issue I'll ping the team to figure it out.

from docker-credential-magic.

jonjohnsonjr avatar jonjohnsonjr commented on May 27, 2024

Binary appears to be doing the right thing, but helm isn't interpreting the response correctly:

https://github.com/docker/docker-credential-helpers/blob/e595cd69465c6b0f7af2d49582b82fdeddecbf75/credentials/error.go#L6

See here: https://github.com/docker/cli/blob/a32cd16160f1b41c1c4ae7bee4dac929d1484e59/cli/config/credentials/native_store.go#L118-L126

from docker-credential-magic.

jdolitsky avatar jdolitsky commented on May 27, 2024

Yep, appears a bug in Helm (or underlying lib). I'll try to track it down.

We are able to docker pull images from that endpoint:

$ docker pull public.ecr.aws/cloudwatch-agent/cloudwatch-agent:latest
latest: Pulling from cloudwatch-agent/cloudwatch-agent
c0f00c860e21: Pull complete 
2e2cc64243eb: Pull complete 
6d4302a1fa16: Pull complete 
Digest: sha256:5e22a8c01449f1acf2d37e4670487e05a5d54590653236fee953abf61220cf17
Status: Downloaded newer image for public.ecr.aws/cloudwatch-agent/cloudwatch-agent:latest
public.ecr.aws/cloudwatch-agent/cloudwatch-agent:latest

Closing for now

from docker-credential-magic.

jdolitsky avatar jdolitsky commented on May 27, 2024

Appears to work on latest Helm 3.8 RC:

$ helm version
version.BuildInfo{Version:"v3.8.0-rc.2", GitCommit:"d14138609b01886f544b2025f5000351c9eb092e", GitTreeState:"clean", GoVersion:"go1.17.5"}

$ helm pull oci://public.ecr.aws/aws-controllers-k8s/apigatewayv2-chart --version v0.0.8
Pulled: public.ecr.aws/aws-controllers-k8s/apigatewayv2-chart:v0.0.8
Digest: sha256:299d8b520291ade6d136a7529b7fd44338d58b5b8239813aed97e8fd81ca1f0

So, it appears to OK? Sorry, perhaps user error on my end.

from docker-credential-magic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.