-
Notifications
You must be signed in to change notification settings - Fork 166
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
feat: migrate kubebuilder layout to go/v4 #1746
feat: migrate kubebuilder layout to go/v4 #1746
Conversation
/assign @lburgazzoli |
can we wait till ODH 2.26.0 code freeze done to merge this one? and not rush into RHOAI 2.19.0 |
@carlkyrillos Given the number of files to review, just to confirm—most of the changes are related to moving
|
@zdtsw Yes, definitely. I'll put a hold on the PR |
Holding until the ODH 2.26.0 code freeze as these changes aren't required for 2.19.0 /hold |
@ugiordan That's correct, the vast majority of the changes are related to moving existing files to |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1746 +/- ##
==========================================
- Coverage 24.54% 24.14% -0.41%
==========================================
Files 172 171 -1
Lines 11874 11782 -92
==========================================
- Hits 2915 2845 -70
+ Misses 8679 8661 -18
+ Partials 280 276 -4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
555f90f
to
bccaede
Compare
/test opendatahub-operator-e2e |
2 similar comments
/test opendatahub-operator-e2e |
/test opendatahub-operator-e2e |
bccaede
to
27d9959
Compare
/test opendatahub-operator-e2e |
1 similar comment
/test opendatahub-operator-e2e |
/unhold |
e29d1e5
to
d7e9e99
Compare
/test opendatahub-operator-e2e |
d7e9e99
to
89f983d
Compare
LGTM |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ugiordan 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 |
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
c7bb96c
into
opendatahub-io:main
Description
JIRA: RHOAIENG-21155
This PR migrates the project layout from kubebuilder to
go/v3
togo/v4
.The changes were made in accordance with the kubebuilder migration documentation which can be found here.
An exhaustive list of major changes can be found in the kubebuilder documentation but the notable changes are:
controllers
tointernal/controller
controllers/webhooks
tointernal/webhook
apis
toapi
main.go
was moved tocmd/main.go
k8s.io/api/admission/v1beta1
package was deprecated and replaced withk8s.io/api/admission/v1
operator-sdk
CLI version was bumped from1.31.0
to1.33.0
to be compatible with thego/v4
layoutHow Has This Been Tested?
These changes were tested by building operator, bundle, and catalog images, then verifying that the DSC and DSCI CRs can be created and that they successfully reconcile.
The following images were used for testing and can be used for verification:
Screenshot or short clip
Merge criteria