Open Avarei opened 2 months ago
I believe this is the expected behavior, at least for the current implementation. metadata.name
is a "special" field since it defines the "key" to the object and the operator does not expect the key to change. That would require deleting the old Object and creating a new one with a new name.
What happened?
After changing the Object.spec.forProvider.manifest.metadata.name the resource with the previous name does not get deleted.
How can we reproduce it?
Create a Resource:
Change the Resource
run
kubectl get cm -n default
and observe both test1 and test2 are present.What environment did it happen in?
Provider Kubernetes: v0.14.1 Crossplane version: v1.16.0 Kubernetes: v1.28.8