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

fix(oci): allow unlimited layer size #1519

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KarstenSiemer
Copy link

This fix gathers the value for unlimited from the tar lib and passes it to the untar function to allow layer sizes bigger than the default of 100MB.

fixes #1511 as discussed.
Currently I did not implement tests. If this is wanted, I'll gladly add them if you would be okay with v1beta2 of github.com/fluxcd/source-controller/api.

I have this code running now with OCIs as big as 500MB for about 2 weeks. It is running flawless, I am really happy with this controller. Thanks for all the efforts, this makes a huge difference for me :-)

Thanks for your consideration.

This fix gathers the value for unlimited from the tar lib and passes
it to the untar function to allow layer sizes bigger than the default
of 100MB

Signed-off-by: Karsten Siemer <[email protected]>
@akselleirv
Copy link
Collaborator

Hello @KarstenSiemer, thank you for your contribution and the research you have done to verify that this works as intended. Yes, please feel free to add tests with OCIRepository using the v1beta2 version.

@akselleirv akselleirv self-requested a review February 7, 2025 06:29
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.

Error when OCI Layers uncompressed size is bigger than 100MB
2 participants