Closed awgreene closed 4 years ago
I'm glad we went with this stripped down version after all the back and forth -- it reads simply and is intuitive.
As part of our upstream initiative we can think about expanding this feature for more flexibility in the future but this is great for an MVP.
/lgtm
/approve
/lgtm
/lgtm
/approve
In my experience, the most common condition is Ready
, I was surprised to see this proposal doesn't include it.
I don't know what OLM currently uses to determine readiness (pod status?), but allowing an operator to add to the checks seems like an obvious addition.
Hello @Jamstah, thank you for the review on this PR!
In my experience, the most common condition is Ready, I was surprised to see this proposal doesn't include it. I don't know what OLM currently uses to determine readiness (pod status?), but allowing an operator to add to the checks seems like an obvious addition.
This is a great observation and one that I considered. As of today, OLM identifies readiness by inspecting the states of the resources that define the operator (deployments, CRD availability, RBAC existing, etc...). I haven't identified a usecase where an Operator would want to override OLM's assessment but it could exist. That being said, I hope to implement this feature in a way that would allow OLM to easily extend to support to additional conditions as the usecases arise.
@shawn-hurley: GitHub didn't allow me to request PR reviews from the following users: awgreene.
Note that only operator-framework members and repo collaborators can review this PR, and authors cannot review their own PRs.
Created as a stripped down version of #23 due to reduce size and complexity.