operator-framework / enhancements

Apache License 2.0
9 stars 40 forks source link

[operator-conditions] Add proposal for Operator Conditions API library #53

Closed varshaprasad96 closed 4 years ago

varshaprasad96 commented 4 years ago

This PR adds a proposal to discuss the deliverables of the library which would provide APIs to authors for adding/updating operator conditions.

varshaprasad96 commented 4 years ago

@jmrodri The status package present in operator-lib is very useful here. There won't be any changes made to it. The helper methods provided in there will be used in the library to work with the conditions present in status.conditions array of the CRD. I have added that in the proposal.

varshaprasad96 commented 4 years ago

Have addressed the review comments and made a few changes. Based on PR, the name of CR provided by OLM seems to have been changed from Condition to Status.