-
Notifications
You must be signed in to change notification settings - Fork 38
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 helpers for operator-conditions #41
Add helpers for operator-conditions #41
Conversation
Skipping CI for Draft Pull Request. |
Pull Request Test Coverage Report for Build 373315720
💛 - Coveralls |
This PR adds helpers for operator conditions CR created by OLM for the operator.
c947b33
to
44a126a
Compare
44a126a
to
f60ce2e
Compare
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
Really great stuff, thorough testing, easy to read methods. Love it.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jmrodri 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 |
ErrNoOperatorCondition = fmt.Errorf("operator Condition CRD is nil") | ||
) | ||
|
||
// TODO: verify from OLM if this will be the name of the environment variable |
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.
@awgreene can you confirm? Afaik this is the name discussed in the EP
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.
This name is fine, if you prefer something else just let me know.
Description of the change:
This PR adds helpers for the Operator Conditions custom resource introduced by OLM. With the help of this package users can:
Motivation for the change:
Provide support for working with Operator Conditions CRD.