Arnavion / k8s-openapi

Rust definitions of the resource types in the Kubernetes client API
Apache License 2.0
386 stars 41 forks source link

VolumeSnapshot and friends? #127

Closed thedodd closed 2 years ago

thedodd commented 2 years ago

Reviewing the docs, it does not appear as though we have generated models for the VolumeSnapshot snapshot.storage.k8s.io/v1 type and other similar resources. Am I looking in the wrong location, or is there something blocking these types from being generated?

Arnavion commented 2 years ago

There's no such type in https://raw.githubusercontent.com/kubernetes/kubernetes/master/api/openapi-spec/swagger.json

thedodd commented 2 years ago

So, looks like these objects are still in the from of CRDs. I was under the impression that these objects had been added to the internal k8s resources types, but I was incorrect.

As such, I will need to work with these CRDs in a slightly different way then. Thank you.