You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the status struct is not generated (looks like it)
the (would-be) preserve-unknown Map type is not checked for before linking it with a #[kube(status = ThatMap)]
We do check for the struct existing before making a status link to it (1 / 2).
Possibly we could make a type alias for status to be just Map<String, serde_json::Value> (like the other preserve_unknown things) and refer to this... It's possible this will work just work with CustomResource but not sure.
Experimentation welcome. It should be possible to mess with the analyzer to get it to produce something for it. Once the struct/type-alias is produced, it can be hooked into the #[kube(status)] line easily.
Links to the CRD that produces this is also helpful.
Note that we do support the similar case where the main struct is just unknown-fields; tested here
In case a CRD has a status property defined as the following, the status struct will not be generated.
The text was updated successfully, but these errors were encountered: