-
Notifications
You must be signed in to change notification settings - Fork 77
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
New condition types #282
New condition types #282
Conversation
It was previously defined and used in the operator codebase. Signed-off-by: Mikalai Radchuk <[email protected]>
These conditions will be used to indicate unpack status on the subscription level. Previously unpack status was indicated on the InstallPlan, but since we now want to prevent InstallPlan from being created in a case of unpack job failure we need to indicate unpack job failures in Subscription conditions.
@@ -239,6 +239,9 @@ const ( | |||
// BundleLookupPending describes BundleLookups that are not complete. | |||
BundleLookupPending BundleLookupConditionType = "BundleLookupPending" | |||
|
|||
// BundleLookupFailed describes conditions types for when BundleLookups fail | |||
BundleLookupFailed BundleLookupConditionType = "BundleLookupFailed" |
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.
SubscriptionBundleUnpacking SubscriptionConditionType = "BundleUnpacking" | ||
|
||
// SubscriptionBundleUnpackFailed indicates that the unpack job failed | ||
SubscriptionBundleUnpackFailed SubscriptionConditionType = "BundleUnpackFailed" |
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.
Are these used anywhere?
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.
@tmshort will be used in operator-framework/operator-lifecycle-manager#2942
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
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
/approve |
1 similar comment
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: m1kola, perdasilva, tmshort 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 |
Required for operator-framework/operator-lifecycle-manager#2942