-
Notifications
You must be signed in to change notification settings - Fork 208
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
Adding method from cvo for capabilities #1333
Adding method from cvo for capabilities #1333
Conversation
6faa0f8
to
3fee090
Compare
df4125f
to
b0b95fc
Compare
/test unit |
b0b95fc
to
62d9b86
Compare
With the proposed change to not filter on capabilities at load time but rather at apply time I changed
`func GetResourceCapabilities(annotations map[string]string, capabilities ClusterCapabilities) (error, []configv1.ClusterVersionCapability) {
}` |
I checked openshift/cluster-version-operator#754 and we should move ahead with this PR merge and once openshift/cluster-version-operator#754 is merged we can move the changes to this repo or even doing the changes directly in this repo. It depends on on the timing of merge of this PR. I am optimistic that we can get this PR merged asap. |
d2d9b0c
to
e35ac89
Compare
/retest |
f529590
to
a6f9855
Compare
a6f9855
to
9669aa3
Compare
Moving from the include() method from CVO code https://github.com/openshift/cluster-version-operator/blob/master/pkg/payload/payload.go#L221 as the code will be reused in OC CLI Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com> temp Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
9669aa3
to
096d671
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: LalatenduMohanty, wking 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 |
/hold |
/test unit |
@LalatenduMohanty: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Talked with @LalatenduMohanty and @jottofar , and we think this is ok as it stands. And we can always come back and tweak if we're missing something now. /hold cancel |
Moving include() method from CVO
as the code will be reused in OC CLI and CVO. The include() method currently exists in https://github.com/openshift/cluster-version-operator/blob/master/pkg/payload/payload.go#L221 and will be replaced by the code from library-go in future.