Skip to content

Commit eabde5a

Browse files
authored
Merge pull request #9 from jkuruba/statuschanges
Adding Recoverable Condition
2 parents 759c58c + 7aace13 commit eabde5a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

apis/core/v1alpha1/conditions.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ const (
3232
// - As a result of InvalidArgument in input yaml
3333
// - Resource server state is "create-failed"
3434
ConditionTypeTerminal ConditionType = "ACK.Terminal"
35+
// ConditionTypeRecoverable indicates that the error may be resolved
36+
// without needing to update the custom resource spec and sync will continue.
37+
// Examples include:
38+
// - ServiceUnavailable errors that are transient
39+
// - AccessDeniedException that needs correct credentials
40+
ConditionTypeRecoverable ConditionType = "ACK.Recoverable"
3541
)
3642

3743
// Condition is the common struct used by all CRDs managed by ACK service

0 commit comments

Comments
 (0)