-
Notifications
You must be signed in to change notification settings - Fork 180
Add new condition ACK.Advisory #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
/assign @vijtrip2 |
apis/core/v1alpha1/conditions.go
Outdated
| // ConditionTypeWarning indicates any warning that may be present in the resource. | ||
| // Examples include | ||
| // - Modifying an immutable field after it was created | ||
| ConditionTypeWarning ConditionType = "ACK.Warning" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually would prefer to call this ConditionTypeInfo or ConditionTypeAdvisory instead of ConditionTypeWarning. The word "warning" is generally reserved for serious things that should be addressed ASAP by an operator. In the case of an immutable field being modified in the Spec of a resource, that's definitely not something that needs to be addressed ASAP by an operator (since it's not dangerous or anything)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed this to ConditionTypeAdvisory as someone may ignore ConditionTypeInfo without noticing
New condition ACK.Warning to set the condition when any immutable field is modified.
jaypipes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jaypipes, nmvk, RedbackThomson The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
New condition ACK.Advisory to set the condition when any immutable field is modified. This is needed for aws-controllers-k8s/code-generator#70
New condition ACK.Advisory to set the condition
when any immutable field is modified.
This is needed for aws-controllers-k8s/code-generator#70