crossplane / upjet

A code generation framework and runtime for Crossplane providers
Apache License 2.0
296 stars 86 forks source link

After adding references, CRD builder re-adds fields which are moved to status back to spec #35

Closed ezgidemirel closed 2 years ago

ezgidemirel commented 2 years ago

What happened?

After adding cross-references, we observed that fields moved to status are re-added.

How can we reproduce it?

Use MoveToStatus and add references to those fields. Related issue -> https://github.com/upbound/official-providers/issues/367

ulucinar commented 2 years ago

I've observed this problem on various resources with injected references.