c8d/pull: Support legacy schema1 prettyjws manifests#46513
Merged
thaJeztah merged 3 commits intomoby:masterfrom Sep 19, 2023
Merged
c8d/pull: Support legacy schema1 prettyjws manifests#46513thaJeztah merged 3 commits intomoby:masterfrom
thaJeztah merged 3 commits intomoby:masterfrom
Conversation
300fd48 to
01f599e
Compare
Makes it possible to pull `application/vnd.docker.distribution.manifest.v1+prettyjws` legacy manifests. They are not stored in their original form but are converted to the OCI manifests. Signed-off-by: Paweł Gronowski <[email protected]>
01f599e to
68b67b3
Compare
thaJeztah
reviewed
Sep 19, 2023
|
|
||
| // Allow pulling application/vnd.docker.distribution.manifest.v1+prettyjws images | ||
| // by converting them to OCI manifests. | ||
| opts = append(opts, containerd.WithSchema1Conversion) |
Member
There was a problem hiding this comment.
do you know if we can detect these in this flow, and print a deprecation warning? (see #46137)
Member
There was a problem hiding this comment.
We could print that deprecation in one of the image handlers maybe? That's if the manifest is not already converted once it gets to the handler
Contributor
Author
There was a problem hiding this comment.
Yes, we can! I somehow missed the deprecation warning when looking at the non-c8d output 😄
Signed-off-by: Paweł Gronowski <[email protected]>
Signed-off-by: Paweł Gronowski <[email protected]>
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.
Makes it possible to pull
application/vnd.docker.distribution.manifest.v1+prettyjwslegacy manifests.They are not stored in their original form but are converted to the OCI manifests.
- How to verify it
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)