forked from rook/rook
When RGW and MDS intances are reduce to 1, the older RGW and MDS PDB instance (with maxUnavailabe=1) are still available. This blocks node drain when the node, on which the single RGW and MDS instances are running, is drained. This PR deletes any stale MDS and RGW PDB when the only 1 MDS and 1 RGW instances are available. Signed-off-by: Santosh <sapillai@redhat.com>