Arnavion / k8s-openapi

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

VolumeSnapshot and friends? #127

Closed thedodd closed 1 year ago

thedodd commented 1 year 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 1 year ago

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

thedodd commented 1 year 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.