Closed skhaz closed 1 year ago
+1
seems duplicate https://github.com/kubernetes/client-go/issues/1269
https://github.com/kubernetes/client-go/issues/1075#issuecomment-1632677511 Is the recommendation… switch to using the gnostic version referenced by client-go v0.27.4
Only the v0.28.x client-go stream (ETA August 15th) works with latest gnostic definitions
Facing it in k8s.io/client-go v0.28.1
# sigs.k8s.io/kustomize/kyaml/openapi /root/go/pkg/mod/sigs.k8s.io/kustomize/kyaml@v0.14.2/openapi/openapi.go:683:33: cannot use doc (variable of type *"github.com/google/gnostic/openapiv2".Document) as *"github.com/google/gnostic-models/openapiv2".Document value in argument to swagger.FromGnostic make: *** [Makefile:55: vet] Error 1
I just updated an application that uses client-go, which was working before. After the library upgrade, I encountered the error below. Does anyone know what the workaround is?