-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
✨ : make go/v4 to be default Kubebuilder CLI scaffold #3278
✨ : make go/v4 to be default Kubebuilder CLI scaffold #3278
Conversation
269de80
to
1f38140
Compare
/hold |
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.
Generally looks good! Some nits:
-
Some comments under
test/testdata/generate.sh
can be updated withv4
: -
We may update the usage of
go/v3
in e2e test for deploy-image:
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.
Changes look good to me! I noticed @Kavinjsir had some nits that make sense to me so I will hold on the LGTM for now so it doesn't automerge and they can be discussed.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: camilamacedo86, everettraven, Kavinjsir 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 |
Hi @Kavinjsir, The idea here is we only make the go/v4 the default scaffolds. Then, in other follows ups we can change our testdata (which does not affect and user), reduce the tests and etc. So, I hope that it make sense and we can agree in improve the maintainability as I understand that you request here: #3278 (review) via follow ups. See that we began to addressed this points as well: #3275 WDYT? @Kavinjsir @everettraven |
Sounds good to me! 👍🏼 |
/hold cancel @everettraven @varshaprasad96 @Kavinjsir could one of you just LGTM this one please? |
/lgtm |
Description
Make go/v4 layout the default layout of kubebuilder CLI
Now, new projects init without inform plugin will be created using go/v4 by default.
NOTE: It does not break the behaviour for those with a project scaffold with go/v3. It only makes the default scaffold of the the CLI to be go/v4
Motivation
#3117
#3217