Skip to content

Commit e400157

Browse files
committed
Adding NonTerminal Condition
1 parent 759c58c commit e400157

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

apis/core/v1alpha1/conditions.go

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

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

0 commit comments

Comments
 (0)