Draft
Conversation
8c6ea26 to
00e7731
Compare
b7e8386 to
1cb86b7
Compare
tomponline
added a commit
that referenced
this pull request
Feb 26, 2026
While working on the Image registries #17680 I've noticed that we don't close the HTTP response body in the `shared.GetRemoteCertificate()` function. This PR fixes this.
1648a77 to
e25fb65
Compare
This ensures that built-in image registries are created during LXD initialization. Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
This change contains a database migration patch to update the schema and populate the tables with built-in image registries. Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
…r image registry permissions Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
ConnectImageRegistry is a convenience function that connects to the image registry's underlying image server based on its protocol and authentication requirements. It returns an initialized `client.ImageServer` instance ready for use. Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
Signed-off-by: Nikita Mezhenskyi <nikita.mezhenskyi@canonical.com>
d0f5178 to
e50cc63
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces LXD image registries feature.
This includes the following new API endpoints:
GET /1.0/image-registriesGET /1.0/image-registries/<name>GET /1.0/image-registries/<name>/imagesPOST /1.0/image-registriesPOST /1.0/image-registries/<name>PUT /1.0/image-registries/<name>PATCH /1.0/image-registries/<name>DELETE /1.0/image-registries/<name>It also adds two new project-level configuration keys:
restricted.registries- Comma separated list of allowed image registries for use in a project.restricted.images.publish- Option to restrict or allow creating public images in a project.Depends on the Cluster links PR #17554.