-
Notifications
You must be signed in to change notification settings - Fork 261
Remove redundant validateOwnedCRDs impl #650
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
Conversation
- Adjust RegistryBundleValidator to remove the duplicate implementation for validating Owned CRDs that operates on the operator registry bundle type. - Leave RegistryBundleValidator skeleton in place for future registry bundle validation - Adjust existing unit test to account for validation removal - Make ValidateBundleContent use the registry bundle AND api bundle validators - Fix bug in argument handling for ObjectValidator which would cause validation to never trigger because it was passing an array itself instead of expanding ... to pass to Variadic argument - enhance test coverage for files that have changed Implements operator-framework#640 Signed-off-by: John Hunkins <jhunkins@us.ibm.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jchunkins The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Hi @jchunkins. Thanks for your PR. I'm waiting for a operator-framework 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. |
Codecov Report
@@ Coverage Diff @@
## master #650 +/- ##
==========================================
+ Coverage 48.40% 48.91% +0.51%
==========================================
Files 87 87
Lines 7599 7562 -37
==========================================
+ Hits 3678 3699 +21
+ Misses 3195 3155 -40
+ Partials 726 708 -18
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
|
/ok-to-test |
|
/test all |
|
@jchunkins: No presubmit jobs available for operator-framework/operator-registry@master 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. |
|
/test ? |
|
@jchunkins: No presubmit jobs available for operator-framework/operator-registry@master 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. |
|
I took a quick look at the changes and they seem reasonable but my brain is dead for the day. Going to try and carve out sometime later this week to take another look. |
|
Thanks @timflannagan |
|
@jchunkins: PR needs rebase. 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. |
|
This PR has been open for over a year and seems stale. I am going to close this PR for now, but if the suggested features are still desired, please reopen. |
Description of the change:
Signed-off-by: John Hunkins jhunkins@us.ibm.com
Motivation for the change:
Remove redundant "validate owned CRD" implementation from operator registry while keeping a future point of expansion for registry specific validation. This consolidates the "validate owned CRD" into a single implementation which already exists in the api project.
Also used this as an opportunity to enhance code coverage.
Reviewer Checklist
/docsCloses #640