Coder Social home page Coder Social logo

Integrate with ECR about gitkube HOT 7 OPEN

hasura avatar hasura commented on May 11, 2024
Integrate with ECR

from gitkube.

Comments (7)

tirumaraiselvan avatar tirumaraiselvan commented on May 11, 2024 1

It is either an HTTP call or aws cli. Either way it breaks the current pattern and proves an exception (till now). If we come up with some other registry which also has the same problem then we need to think about solving the problem more generally. I guess for the time being we can make it a manual step.

from gitkube.

tirumaraiselvan avatar tirumaraiselvan commented on May 11, 2024

One way is to ask (infer) the repo in remote CR and create tags instead of creating repositories i.e.

tirumarai/test:247ff5 (dockerhub) becomes

tirumarai:test-247ff5 (ecr)

from gitkube.

shahidhk avatar shahidhk commented on May 11, 2024

How easy is it to create the registry? Provided the cluster has required IAM to do so?

from gitkube.

coco98 avatar coco98 commented on May 11, 2024

from gitkube.

nizar-m avatar nizar-m commented on May 11, 2024

Also the authentication to the AWS container registry lasts only for 12 hours. You have to keep renewing the docker credentials. Something like this cronjob will have to be run to keep the imagePullSecret renewed.

from gitkube.

tirumaraiselvan avatar tirumaraiselvan commented on May 11, 2024

@nizar-m Yes, but that is clearly out of the scope of gitkube.

from gitkube.

nizar-m avatar nizar-m commented on May 11, 2024

Docker push will fail if you use the command 'aws ecr get-login' to create the dockerPullSecrets and you end up doing it after 12 hours.

from gitkube.

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.