Git Product home page Git Product logo

Comments (3)

andscoop avatar andscoop commented on May 30, 2024

@cwurtz @schnie How much custom configuration do we want to support with the registry host?

With the introduction of houston we are now managing the authentication to two separate hosts. In a base installation we can rely on the registry existing at registry.[baseDomain] which makes the RegistryAuthority config redundant.

I could see a use case where a user may want to point to a registry that exists at a different url. This makes the management of these two configurations complicated. I could go into more detail about the specifics, but the gist is that managing these two configurations adds to some complexities in the reconciliation of these two settings on gets and sets.

IF we want to support custom registry locations we have two options from what I can tell

  • muddy up the astro auth login command to have robust support for setting RegistryAuthority and CloudDomain at both project and global levels
  • move registry location to a value stored in houston and returned when authenticating to houston which can then be passed to the docker auth we do behind the scenes

from astro-cli.

schnie avatar schnie commented on May 30, 2024

@andscoop is this an issue for anybody yet?

from astro-cli.

andscoop avatar andscoop commented on May 30, 2024

@schnie The issue that this ticket was created for has affected me and I'm guessing it will affect more as we continue to upgrade and develop the platform. I wouldn't call it critical because it's easily resolved with a config.yaml change.

One intermediate solution would be to prompt user with each call astro auth login with the domain we authenticating to.

from astro-cli.

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.