Skip to content

Commit 8191f60

Browse files
authored
Add new condition ACK.Advisory (#17)
New condition ACK.Advisory to set the condition when any immutable field is modified. This is needed for aws-controllers-k8s/code-generator#70
1 parent a3e2184 commit 8191f60

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+
// ConditionTypeAdvisory indicates any advisory info that may be present in the resource.
45+
// Examples include
46+
// - Modifying an immutable field after it was created
47+
ConditionTypeAdvisory ConditionType = "ACK.Advisory"
4448
)
4549

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

0 commit comments

Comments
 (0)