Open bradkwadsworth-mw opened 1 month ago
We encountered this issue too. Why is it an enhancement and not a bug? If you manually create the resource without the provider, it actually removes/modifies the fields. If a field is object type* - or array I assume - and you modify the key/value pair, it keeps adding new fields without removing the old ones. I haven't tested this with array, that's why it's an assumption. If something is optional, that also won't get removed.
*E.g. of what I mean:
...
exampleKey:
type: object
additionalProperties:
type: string
...
It would be nice if you could fix this issue.
Also, it is pretty similar to this issue - or we can say it's the same: #114
What problem are you facing?
When removing key/value fields, the desired manifest is not updated. object resource:
created resource:
object resource (removed label):
created resource (label still exists):
How could Crossplane help solve your problem?
When removing key/value fields such as labels, the field should also be removed in the created resource.