forked from rook/rook
This commit makes OnAdd() and OnUpdate() consistent in behavior. They will do their best detecting if we can upgrade, continue an upgrade or refuse to do one. It also refuses to downgrade to any version. It also load ClusterInfo earlier in the controller so that we can compare the spec version versus the cluster running one. Signed-off-by: Sébastien Han <seb@redhat.com>