Skip to content

Add remediateLastFailure#1372

Open
hirenko-v wants to merge 4 commits into
flux-iac:mainfrom
hirenko-v:remediate-failure
Open

Add remediateLastFailure#1372
hirenko-v wants to merge 4 commits into
flux-iac:mainfrom
hirenko-v:remediate-failure

Conversation

@hirenko-v

Copy link
Copy Markdown

This PR adds remediateLastFailure to Terraform CRD, the same for example, Helm controller has.
Current logic leads to manual intervention when retries are exceeded. It prevents the scheduled execution for Terraform after .spec.interval.
The new logic by default follows the old pattern but if .spec.remediation.remediateLastFailure: true controller will reset the retry count and schedule another Terraform execution after .spec.interval if retries exceeded.

Fixes #1358

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.

Implement RemediateLastFailure

1 participant