-
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
⚠️ update deps to use k8s 1.22 #2340
⚠️ update deps to use k8s 1.22 #2340
Conversation
4461e43
to
2f1588d
Compare
349edb5
to
8d56b6f
Compare
017e13c
to
a8d3be0
Compare
/test pull-kubebuilder-e2e-k8s-1-16-15 |
a8d3be0
to
c85d992
Compare
70b163d
to
bc93841
Compare
13e7d5f
to
6766994
Compare
Description Update deps to use k8s 1.22 Update controller-tools to 0.7.0 Update sigs.k8s.io/controller-runtime to 0.10.0 Update ENV TEST to 1.22
6766994
to
60803e8
Compare
// todo: it should be removed for go/v4 | ||
// nolint:lll,gosec | ||
if p.resource.API.CRDVersion == "v1beta1" { | ||
if err := applyScaffoldCustomizationsForVbeta1(); err != nil { |
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.
would we still be supporting this in go/v3
? Since we are scaffolding the project with k8s 1.22, should we be removing support for v1beta1 APIs completely ?
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.
To ensure backwards compatibility:
- If the flags crd-version or webhook-version be informed with v1beta1 the makefile and go.mod are updated, and the user informed
- Marke as deprecates the flags crd-version or webhook-version since we probably will remove it in future versions.
We cannot remove the option for go/v3. That would be a breaking change and we will allow to do that only when we create go/v4.
sigs.k8s.io/controller-tools v0.6.0 // for `kubebuilder alpha config-gen` | ||
golang.org/x/tools v0.1.5 | ||
k8s.io/apimachinery v0.22.2 // for `kubebuilder alpha config-gen` | ||
sigs.k8s.io/controller-runtime v0.10.0 |
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.
Not a blocker at all, but since the PR is still open we could do 0.10.1 of controller-runtime too as it has k8s bumped to 1.22.2
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.
yes. I think we can -)
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: camilamacedo86, varshaprasad96 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 |
I will need to force this PR because of the |
Description
For Golang/v3 only:
To ensure backwards compatibility:
Notes
Closes: #2339