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

Add remediateLastFailure #1372

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

hirenko-v
Copy link

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