-
Notifications
You must be signed in to change notification settings - Fork 48
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
Bump go to k8s 1.21 #1209
Bump go to k8s 1.21 #1209
Conversation
75ca477
to
6517e20
Compare
There are security warnings on the project that can be fixed bumping k8s go deps. This change bump k8s, controller-runtime, controller-tools and operator-sdk. Signed-off-by: Quique Llorente <ellorent@redhat.com>
The new controller-runtime expect a context.Context on the Reconcile interface. This change add that to the controllers. Signed-off-by: Quique Llorente <ellorent@redhat.com>
4217914
to
86c0cae
Compare
The operator-sdk 1.y.z introduced backward imcompatible changes: - The "test" package no longer exists and we have to use testenv - The operator-sdk generate does not exist and we have to sue controller-gen - The generated code is different and we have to adapt to it. Signed-off-by: Quique Llorente <ellorent@redhat.com> gen: Use controller-gen to generate k8s code Signed-off-by: Quique Llorente <ellorent@redhat.com>
86c0cae
to
77ba47c
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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.
Followed operator-sdk upgrade doc and all changes are aligned witht the docs
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qinqon 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-0.65 |
@RamLavi: #1209 failed to apply on top of branch "release-0.65":
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. |
* deps: Bump go to k8s 1.21 There are security warnings on the project that can be fixed bumping k8s go deps. This change bump k8s, controller-runtime, controller-tools and operator-sdk. Signed-off-by: Quique Llorente <ellorent@redhat.com> * controller: Adapt to controller-runtime version The new controller-runtime expect a context.Context on the Reconcile interface. This change add that to the controllers. Signed-off-by: Quique Llorente <ellorent@redhat.com> * deps: Adapt to v1.y.z version of operator-sdk The operator-sdk 1.y.z introduced backward imcompatible changes: - The "test" package no longer exists and we have to use testenv - The operator-sdk generate does not exist and we have to sue controller-gen - The generated code is different and we have to adapt to it. Signed-off-by: Quique Llorente <ellorent@redhat.com> gen: Use controller-gen to generate k8s code Signed-off-by: Quique Llorente <ellorent@redhat.com>
What this PR does / why we need it:
There are security warnings on the project, they can be fixed bumping go deps to k8s 1.21.
Special notes for your reviewer:
Release note: