forked from rook/rook
Previously, we were ignoring configuration changes coming from the operator's pod env variables. We were assuming most users were using the operator configmap "rook-ceph-operator-config" but most Helm users don't. Now we will reconcile if a cephcluster is found during a CREATE event (can be an operator restart or a cephcluster creation) AND no "rook-ceph-operator-config" is found which means the operator's pod env var are used. Also, unit tests have been added (long due) for the predicate! Closes: #9602, #9487, #9579 Signed-off-by: Sébastien Han <seb@redhat.com>