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

Bind cached helm index to the maximum index size #1457

Merged
merged 1 commit into from
Apr 22, 2024
Merged

Bind cached helm index to the maximum index size #1457

merged 1 commit into from
Apr 22, 2024

Conversation

souleb
Copy link
Member

@souleb souleb commented Apr 22, 2024

fixes #1451

If implemented, the new behavior is to only cache helm indexes that are under the maximum allowed size. If greater, an error is returned and the reconciliation fails. This avoid accepting big helm indexes that won't be allowed in memory later down the reconciliation process.

@souleb souleb added bug Something isn't working area/helm Helm related issues and pull requests area/storage Storage related issues and pull requests labels Apr 22, 2024
@souleb souleb changed the title Bound cached helm index to the maximum index size Bind cached helm index to the maximum index size Apr 22, 2024
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

@souleb souleb force-pushed the fix-1451 branch 2 times, most recently from 3ab3e36 to c369e75 Compare April 22, 2024 15:01
Signed-off-by: Soule BA <bah.soule@gmail.com>
@souleb souleb merged commit ec85f3a into main Apr 22, 2024
10 checks passed
@souleb souleb deleted the fix-1451 branch April 22, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm Helm related issues and pull requests area/storage Storage related issues and pull requests bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tmp storage does not get cleaned up when large helm repository index file fails to process
2 participants