Skip to content

Be even less strict with OCI image index manifest annotations#120

Merged
NotTheEvilOne merged 4 commits intomainfrom
fix/strict-oci-index
Jun 11, 2025
Merged

Be even less strict with OCI image index manifest annotations#120
NotTheEvilOne merged 4 commits intomainfrom
fix/strict-oci-index

Conversation

@NotTheEvilOne
Copy link
Contributor

What this PR does / why we need it:
While 7335580 allows access to OCI image indices not including cname in manifest entries it fails to iterate if append_layer() is called on it. This PR accepts undefined annotations.cname values here as well.

Which issue(s) this PR fixes:
Fixes gardenlinux/gardenlinux#3097

Signed-off-by: Tobias Wolf <wolf@b1-systems.de>
This commit allows `annotations.cname` to be missing in OCI image index manifest entries. It uses the `digest` in this case for `manifests_as_dict()`.

Signed-off-by: Tobias Wolf <wolf@b1-systems.de>
This commit accepts undefined `annotations.cname` values while `append_layer()` is called.

Signed-off-by: Tobias Wolf <wolf@b1-systems.de>
@NotTheEvilOne NotTheEvilOne merged commit 6278da3 into main Jun 11, 2025
9 checks passed
@NotTheEvilOne NotTheEvilOne deleted the fix/strict-oci-index branch February 10, 2026 14:12
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.

Fix nightly 2025-06-11

2 participants