Skip to content

Commit c115b7a

Browse files
committed
Add new condition for warning
New condition ACK.Warning to set the condition when any immutable field is modified.
1 parent 0ff9ffa commit c115b7a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apis/core/v1alpha1/conditions.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ const (
4141
// - ServiceUnavailable errors that are transient
4242
// - AccessDeniedException that needs correct credentials
4343
ConditionTypeRecoverable ConditionType = "ACK.Recoverable"
44+
// ConditionTypeWarning indicates any warning that may be present in the resource.
45+
// Examples include
46+
// - Modifying an immutable field after it was created
47+
ConditionTypeWarning ConditionType = "ACK.Warning"
4448
)
4549

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

0 commit comments

Comments
 (0)