Skip to content

Commit

Permalink
Add new condition ACK.Advisory (#17)
Browse files Browse the repository at this point in the history
New condition ACK.Advisory to set the condition
when any immutable field is modified.

This is needed for aws-controllers-k8s/code-generator#70
  • Loading branch information
nmvk authored May 31, 2021
1 parent a3e2184 commit 8191f60
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apis/core/v1alpha1/conditions.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ const (
// - ServiceUnavailable errors that are transient
// - AccessDeniedException that needs correct credentials
ConditionTypeRecoverable ConditionType = "ACK.Recoverable"
// ConditionTypeAdvisory indicates any advisory info that may be present in the resource.
// Examples include
// - Modifying an immutable field after it was created
ConditionTypeAdvisory ConditionType = "ACK.Advisory"
)

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

0 comments on commit 8191f60

Please sign in to comment.