Skip to content

Commit

Permalink
Avoid using cri-api v1alpha2 (#43)
Browse files Browse the repository at this point in the history
As of v1.26.0 kubernetes removed support for api cri-api
v1alpha2
kubernetes/kubernetes#110618

Signed-off-by: Andrea Panattoni <[email protected]>
  • Loading branch information
zeeke authored Feb 2, 2023
1 parent 95456e8 commit 0c6df81
Show file tree
Hide file tree
Showing 5 changed files with 548 additions and 565 deletions.
2 changes: 1 addition & 1 deletion pkg/controllers/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import (
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
coreinformers "k8s.io/client-go/informers/core/v1"
"k8s.io/client-go/tools/cache"
pb "k8s.io/cri-api/pkg/apis/runtime/v1alpha2"
pb "k8s.io/cri-api/pkg/apis/runtime/v1"
"k8s.io/klog"
k8sutils "k8s.io/kubernetes/pkg/kubelet/util"
)
Expand Down
Loading

0 comments on commit 0c6df81

Please sign in to comment.