-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add Processing Condition labels #6
Add Processing Condition labels #6
Conversation
/lgtm |
ce00bf2
to
e93c61a
Compare
pkg/labels/labels.go
Outdated
// SucceededConditionType is the condition type used to signal whether the remediation was successful or not | ||
SucceededConditionType = "Succeeded" | ||
// NhcTimeOutAnnotation is the annotation set by NHC to signal the operator that it surpassed its timeout and shall stop its remediation | ||
NhcTimeOutAnnotation = "remediation.medik8s.io/nhc-timed-out" |
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.
- think it would be better to put in another pkg (i.e annotations)
- Assuming we do so get rid of the "Annotation" suffix in the var name
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.
ah, I've been too fast, you're right
Signed-off-by: Carlo Lobrano <[email protected]>
e93c61a
to
977b2e8
Compare
/lgtm |
missed this. Why are the condition types in labels.go? 🤔 @clobrano |
I think I considered What could be a good name for the right package? |
just |
Signed-off-by: Carlo Lobrano [email protected]