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: Retry failed releases when charts are available in storage #785

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

stefanprodan
Copy link
Member

@stefanprodan stefanprodan commented Oct 4, 2023

When charts are not available in SC storage (e.g. after a Flux upgrade) all releases fail to reconcile with HelmChart is not ready and HR status is set to Ready=False. The controller would not retry the reconciliation when the chart artifact become available in storage, instead the controller is using the .spec.interval for retries which forces users to set low intervals just to cope with upgrades. This PR changes the chart watcher to trigger a reconciliation for failed releases the moment charts become ready.

@stefanprodan stefanprodan added the enhancement New feature or request label Oct 4, 2023
@stefanprodan stefanprodan changed the title Use requeue dependency interval for chart fetch retries fix: Retry failed releases when charts are available in storage Oct 4, 2023
@stefanprodan stefanprodan added bug Something isn't working and removed enhancement New feature or request labels Oct 4, 2023
@stefanprodan stefanprodan merged commit 0c31fd3 into main Oct 4, 2023
11 checks passed
@stefanprodan stefanprodan deleted the speed-up-recovery branch October 4, 2023 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants