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 when artifacts are available in storage #980

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

stefanprodan
Copy link
Member

After a Flux upgrade, when SC storage is wiped, SC will remove the .status.artifact from sources before it tries to fetch from upstream. Due to this change in SC behaviour, the retry logic of the artifact fetcher in KC no longer works as there is no .status.artifact.url to retry for. This PR allows for faster recovery, once the artifact is available in storage, even if the revision is the same, KC will reconcile on the spot instead of waiting for the dependency retry interval.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan added bug Something isn't working backport:release/v1.1.x To be backported to release/v1.1.x labels Oct 5, 2023
@stefanprodan stefanprodan merged commit 1fb27b8 into main Oct 5, 2023
12 checks passed
@stefanprodan stefanprodan deleted the fast-recovery branch October 5, 2023 08:10
@fluxcdbot
Copy link
Member

Successfully created backport PR for release/v1.1.x:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:release/v1.1.x To be backported to release/v1.1.x bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants