-
Notifications
You must be signed in to change notification settings - Fork 251
config: add status helper funcs for v1.ClusterOperator #97
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
config: add status helper funcs for v1.ClusterOperator #97
Conversation
|
ping :) |
|
You sure want this or want to simply update the |
Either is fine. I don't have any strong prefs on that, whatever you think is more correct. |
I think we should collapse our status conditions into a single type. It's a quick change in openshift/api and doesn't affect serialization in any serious way. |
|
@deads2k Is other way around ie moving |
I won't hold this up on that. I'm personally disinclined to move it in that direction. /lgtm holding for nits (at least the order). Feel free to self-tag after that. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, deads2k The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
These functions currently exist in https://github.com/openshift/cluster-version-operator/blob/0eaaaa01e881933223f5afcb57de73dbaf793b54/lib/resourcemerge/os.go#L36-L109. This removes dependency of operators from cvo completely.
106fe33 to
95c75f9
Compare
|
New changes are detected. LGTM label has been removed. |
Adding the |
config: add status helper funcs for v1.ClusterOperator
These functions currently exist in https://github.com/openshift/cluster-version-operator/blob/0eaaaa01e881933223f5afcb57de73dbaf793b54/lib/resourcemerge/os.go#L36-L109.
This removes dependency of operators from cvo completely.
@deads2k hopefully this import
github.com/library-go/pkg/config/clusteroperator/v1is sane for getting these functions onClusterOperatorStatus./cc @smarterclayton @deads2k