forked from rook/rook
The nodeAffinity for portable OSDs is needed to ensure the OSDs are tied to the same zone or other failure domain where the OSD was prepared and where it is expected to run. During upgrade the topology affinity was not being detected since the osd prepare job is skipped in that case. Now the topology will be detected from the running OSD daemon pod's node. Signed-off-by: Travis Nielsen <tnielsen@redhat.com>