cybozu-go / coil

CNI plugin for Kubernetes designed for scalability and extensibility
Apache License 2.0
165 stars 20 forks source link

Support k8s 1.27 and update dependencies #254

Closed ysksuzuki closed 11 months ago

ysksuzuki commented 1 year ago

Note:

Kube-openapi breaks backwards compatibility. So we need to use the commit before it changes gnostic-models. Otherwise we get the error bellow. https://github.com/kubernetes/client-go/issues/1269#issuecomment-1613565035

(This PR is using kube-openapi v0.0.0-20230525220651-2546d827e515 to fix the error)

~/go/pkg/mod/k8s.io/client-go@v0.27.3/applyconfigurations/meta/v1/unstructured.go:64:38: cannot use doc (variable of type *"github.com/google/gnostic/openapiv2".Document) as *"github.com/google/gnostic-models/openapiv2".Document value in argument to proto.NewOpenAPIData
ysksuzuki commented 1 year ago

Note:

go-grpc-middleware v2 has been released. This PR hasn't upgraded from v1 to v2 yet. https://github.com/grpc-ecosystem/go-grpc-middleware#changes-compared-to-v1

terassyi commented 12 months ago

We will work on go-grpc-middleware v2 migration in another PR. Because this migration needs a lot of changes.