-
Notifications
You must be signed in to change notification settings - Fork 188
ob and obc will move to owned instead of required #424
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
ob and obc will move to owned instead of required #424
Conversation
Hi @jackyalbo. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
ba75a88
to
eb6cb68
Compare
eb6cb68
to
84c0d50
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.
Is this fix only for ocs-operator case?
This change should ideally come from NooBaa operator itself. We should not be overriding it here.
@umangachapagain That can't come from NooBaa itself. |
/retest |
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.
Will the new CRDs be persisted across make gen-latest-csv
?
I have a feeling it will not be included during new bundle creation as we fetch our CRDs during build from NooBaa and Rook. We might need to add these CRDs to /deploy/crds/
directory.
Yes it does. We still get it the same way, just now we patch it from required to owned. |
But @umangachapagain you’re right that @jackyalbo should make sure that those crd files themselves are really updated from noobaa operator during CSV merge, and not statically stored in OCS git. |
they are updated by the operator - was added by running "make gen-latest-csv" |
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
Just would be neat to have "go.mod / go.sum" changes in a separate commit.
84c0d50
to
1194294
Compare
fixed to 2 separate commits |
ocsCSV.Spec.CustomResourceDefinitions.Owned = append(ocsCSV.Spec.CustomResourceDefinitions.Owned, csvStruct.Spec.CustomResourceDefinitions.Owned...) | ||
ocsCSV.Spec.CustomResourceDefinitions.Required = append(ocsCSV.Spec.CustomResourceDefinitions.Required, csvStruct.Spec.CustomResourceDefinitions.Required...) | ||
|
||
for _, definition := range csvStruct.Spec.CustomResourceDefinitions.Required { |
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.
Is this in place because the NooBaa CSV we're importing isn't updated to reflect this change? If so, shouldn't the change be in NooBaa?
If lib-bucket-provisioner operator is gone, how will NooBaa operator function upstream? |
@umangachapagain lib-bucket-provisioner is only removed from cumminity-operators for Openshift, not from upstream-community-operators for Kubernetes. |
As part of not being dependent on community operators BZ1798571 Signed-off-by: jackyalbo <jalbo@redhat.com>
Signed-off-by: jackyalbo <jalbo@redhat.com>
1194294
to
fd99074
Compare
@jackyalbo: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jackyalbo, jarrpa, umangachapagain 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 |
/cherry-pick release-4.4 |
@obnoxxx: new pull request created: #458 In response to this:
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. |
As part of not being dependent on community operators in downstream
fix to BZ1798571
upstream NooBaa will still require lib_bucket_provisionser as a dependency