We had an issue with clusterctl move
(cluster api).
clusterctl -n org-foo move --to-kubeconfig=.kubeconfigs/.foo-1-kubeconfig
Performing move...
Discovering Cluster API objects
Error: failed to get object graph: failed to check for provisioned infrastructure: action failed after 9 attempts: error reading Cluster /: an empty namespace may not be set when a resource name is provided
make: *** [Makefile:167: create-cluster-from-cluster-yaml] Error 1
The reason was a outdated ownerRef.
Is there a way to check all objects in my cluster and report all broken ownerRefs?