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

RFC-0003: Introduce Flux OCI media type #3575

Merged
merged 1 commit into from
Feb 13, 2023
Merged

Conversation

stefanprodan
Copy link
Member

@stefanprodan stefanprodan commented Feb 10, 2023

Given that DockerHub and all the other popular registries now support custom media type, I propose that we use application/vnd.cncf.flux for the artifacts created with flux push. This change doesn't affect Flux source-controller, the controller will still work with any type of OCI artifact as long as it contains a tar+gzip layer.

Instead of using the Docker distribution media types, we'll be using:

  • artifact media type application/vnd.oci.image.manifest.v1+json
  • config media type application/vnd.cncf.flux.config.v1+json
  • content media type application/vnd.cncf.flux.content.v1.tar+gzip

@stefanprodan stefanprodan added the area/rfc Feature request proposals in the RFC format label Feb 10, 2023
@stefanprodan stefanprodan requested a review from a team February 10, 2023 09:01
@stefanprodan stefanprodan force-pushed the rfc-0003-oci-media-type branch 2 times, most recently from 90a62d5 to efc3e26 Compare February 10, 2023 09:32
Copy link
Member

@souleb souleb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@stefanprodan stefanprodan mentioned this pull request Feb 10, 2023
21 tasks
Copy link
Contributor

@darkowlzz darkowlzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

rfcs/0003-kubernetes-oci/README.md Outdated Show resolved Hide resolved
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan merged commit a803259 into main Feb 13, 2023
@stefanprodan stefanprodan deleted the rfc-0003-oci-media-type branch February 13, 2023 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rfc Feature request proposals in the RFC format
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants