You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade controller-runtime to 0.8.3 and controller-gen to 0.7.0, and adopt the breaking change of them
The interface for client.Get, Client.Create, Clident.Update is changed from runtime.Object to client.Object
The parameter of function Reconcile is changed from req ctrl.Request to ctx context.Context, req ctrl.Request
some test function is deprecated.
Upgrade API version
CustomResourceDefinition from apiextensions.k8s.io/vebeta1 to apiextensions.k8s.io/v1
CSIDriver from storage.k8s.io/v1beta1 to storage.k8s.io/v1
MutatingWebhookConfiguration from admissionregistration.k8s.io/v1beta1 to admissionregistration.k8s.io/v1
Why is this feature needed:
The purpose is to match K8s 1.22 and above. As you know a lot of APIs are removed since 1.22, including CSI, CRD, webhook. We have to upgrade the K8s version, and during the upgrade we found the controller-runtime has to be upgraded also.
The text was updated successfully, but these errors were encountered:
What feature you'd like to add:
runtime.Object
toclient.Object
Reconcile
is changed fromreq ctrl.Request
toctx context.Context, req ctrl.Request
apiextensions.k8s.io/vebeta1
toapiextensions.k8s.io/v1
storage.k8s.io/v1beta1
tostorage.k8s.io/v1
admissionregistration.k8s.io/v1beta1
toadmissionregistration.k8s.io/v1
Why is this feature needed:
The purpose is to match K8s 1.22 and above. As you know a lot of APIs are removed since 1.22, including CSI, CRD, webhook. We have to upgrade the K8s version, and during the upgrade we found the controller-runtime has to be upgraded also.
The text was updated successfully, but these errors were encountered: