Description
Currently it's impossible to write unit tests for code that calls ObjectMetaBuilder::ownerreference_from_resource(). This is because OwnerReferenceBuilder::build() checks for the uid key which is cannot be set in tests.
Unfortunately this affects pretty much all operator code.
Description
Currently it's impossible to write unit tests for code that calls ObjectMetaBuilder::ownerreference_from_resource(). This is because OwnerReferenceBuilder::build() checks for the
uidkey which is cannot be set in tests.Unfortunately this affects pretty much all operator code.