Replies: 1 comment 1 reply
-
|
Hi @benkeil , this mostly comes from fabric8 Kubernetes client. There are various approaches to cope with some deserialization issue. If there are some new backwards compatible changes, you can just simply ignore those fields, by marking: You can also customize the json ObjectMapper for the client:
Having these at hand I don't see why would be a better approach to deserialize it inside the body, given also that the framework heavily relies on resource metadata (like owner references, resourceVersion, labels, etc), before event the resource triggers the reconiliation. Note, if none above works for you, you can use still We might support this also for primary resources, but for that we need to see a strong case described, see: hope it helps |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If there is a configuration that doesn’t match the actual class you specify for your reconciler, the whole application crashes.
How do you handle this? Why I can’t just deserialize the body inside the reconciler?
Beta Was this translation helpful? Give feedback.
All reactions