Currently by default Dependent Resource assumes that the primary resource is namespace scoped, see:
|
return Mappers.fromOwnerReferences(false); |
This is something users have to then handle explicitly, by overriding the SecondaryToPrimaryMapper, see:
#2310 (comment)
In DRs we don't have access to the class of primary to check if it is namespace scoped. But we might create some workarounds, like passing it as a flag for managed resources automatically.