obmarg / kazan

Kubernetes API client for Elixir
https://hex.pm/packages/kazan
MIT License
138 stars 35 forks source link

Watching CRDs is not supported #69

Open obmarg opened 5 years ago

obmarg commented 5 years ago

65 added support for decoding & encoding custom resources - when a Kazan.Request is built with a custom resource as it's response_model we'll succesfully decode that custom resource.

Watch request decoding however uses the kind field in the object in the WatchEvent. The lookup table for kinds is generated at compile time, so custom resources will not be included in this. We probably need to update the lookup table to be dynamic somehow.