Cluster API should not use controller refs for resources that it does not create
#4.014 geöffnet am 11.12.2020
Repository-Metriken
- Stars
- (4.267 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
What steps did you take and what happened:
Attempting to create a Cluster using an external tool such as Crossplane causes issues with both CAPI and Crossplane wanting to have the singular controller reference for resources that are created from Crossplane.
We've used controller refs in the past to avoid the possibility of multiple Clusters owning the same resources, but siince this hampers interoperability, the use of non-controller ownerReferences should be used and the verification that a resource isn't "owned" by the same cluster should be handled separately.
What did you expect to happen:
Crossplane should be able to create a Cluster API Cluster
Anything else you would like to add:
Anywhere that Cluster API controllers are creating resources should still continue to use controller references.
/kind bug