Immediately failing precondition checks
pepov opened this issue · comments
Peter Wilcsinszky commented
Is your feature request related to a problem? Please describe.
Currently precondition checks cannot return with an error that would result in an immediate failure, but only an error that triggers a delayed reconciliation.
Describe the solution you'd like to see
I would like to see a custom error type, that the precondition check logic could implement to see if an error returned from the check is a fatal one or not and set the status to failed (instead of reconciling) and return without a requeue request immediately.