It's unlikely but possible that namespace deletion hits the informer cache before CR deletion. So we either need to make non-caching calls before recreating the namespace of orphaned resources, or just wait for informers to catch up.
This is already such a rare case, I think the risk of making apiserver calls is unnecessary and just waiting on the informers is sufficient.
It's unlikely but possible that namespace deletion hits the informer cache before CR deletion. So we either need to make non-caching calls before recreating the namespace of orphaned resources, or just wait for informers to catch up.
This is already such a rare case, I think the risk of making apiserver calls is unnecessary and just waiting on the informers is sufficient.