forked from rook/rook
If we are running a Ceph cluster that has an unsupported version and if we have set allowUnsupported: false, a newly bootstrap operator will fail to start. To fix this, the user will update the CR and set allowUnsupported: true, however at this point clusterInfo hasn't been initialized so the operator will panic because we were referencing a nil pointer. To fix this, we re-populate clusterInfo if necessary and things go smoothly. Closes: https://github.com/rook/rook/issues/3137 Signed-off-by: Sébastien Han <seb@redhat.com>