Skip to content

Conversation

RichhLi
Copy link
Contributor

@RichhLi RichhLi commented Jul 2, 2023

envd bootstrap --registry-config path_to_json_file

Format:
Screenshot 2023-07-03 at 3 03 15 PM

Note that the "name" field is required. The other fields are all optional.

This will allow users to specify private Docker registries and the respective credentials. Under the hood, we parse these credentials and create a corresponding buildkit TOML file, as well as set up Docker bindings. This enables users to pull and push images from private Docker registries.

This is also completely backwards compatible with the existing "registry" and "registry-ca-keypair" command. We check that a user only specifies "registy-config" on its own, meaning that a user can't use both registry-config and registry or both registry-config and registry-ca-keypair.

The registry-config command also enables users to specify more than one registry now. For example, if the registry you pull your image from is different than the registry you push your image to, and you need auth for both of them, you should use the registry-config command.

@RichhLi RichhLi requested review from aseaday and zwpaper as code owners July 2, 2023 22:44
Signed-off-by: Richard Li <[email protected]>
@gaocegege
Copy link
Member

Hi is it ready for another review?

@RichhLi
Copy link
Contributor Author

RichhLi commented Jul 4, 2023

Yes sorry, I'm new to Github and open source. In general if I make a change, how do I notify reviewers? Just leave a comment?

@kemingy
Copy link
Member

kemingy commented Jul 4, 2023

Yes sorry, I'm new to Github and open source. In general if I make a change, how do I notify reviewers? Just leave a comment?

You can click the "re-request review" on the top right reviewers' list. Leaving a comment is also okay.

Co-authored-by: Keming <[email protected]>
Signed-off-by: Richard Li <[email protected]>
@kemingy kemingy enabled auto-merge July 4, 2023 03:53
@kemingy kemingy added this pull request to the merge queue Jul 4, 2023
Merged via the queue into tensorchord:main with commit cde4632 Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants