forked from rook/rook
Previously, the struct maintaining the list of cluster was still initialized with a cluster item. Then the monitoring check will see that the cluster is part of the struct already and thus won't run the monitoring go routine again. Now each time we cancel the context, we also remove the cluster item from the map so that when the controller runs again, the monitoring struct is re-populated and the go routine runs and statuses are updated. Closes: https://github.com/rook/rook/issues/9911 Signed-off-by: Sébastien Han <seb@redhat.com>