Operator controller could not delete correlated resources Operator controller could not delete correlated resources kubernetes kubernetes

Operator controller could not delete correlated resources


Deletion of orphaned resources is done by Kubernetes's garbage collector, which is implemented in kubelet. When you test operator in envTest environment, garbage collection doesn't work because kubelet is missing in that environment(it only deploys API server and etcd).