Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be more precise about allowed media-types for ocm oci-manifest #120

Open
zkdev opened this issue Nov 28, 2024 · 0 comments
Open

Be more precise about allowed media-types for ocm oci-manifest #120

zkdev opened this issue Nov 28, 2024 · 0 comments

Comments

@zkdev
Copy link
Member

zkdev commented Nov 28, 2024

What would you like to be added:
Precisely list allowed media-types for ocm oci-manifest.

Why is this needed:
Currently, oci-backend-spec just states that:

The component version is represented as OCI image manifest.

I assume this maps to oci image manifest spec, but I was not too sure whether image indices (or "fat manifests" / "multi-arch manifests") are allowed as well. Therefore I think, explicitly listing the technical values of allowed media-types improves spec quality, as users do not have to research on media-types and implications but rather can straight-up implement against the spec.
Also, considering media-types are versioned, an explicit list would improve on resilience as there could be an oci image manifest spec update (e.g. introduction of new media-type), which would require adjustments in ocm-spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 ToDo
Development

No branches or pull requests

1 participant