Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check restoring PV finalizer before checking cluster ID in Persisntet…
…VolumeReconciler `getCephClusterIDFromSCName` works correctly only for storage class names provisioned by Rook/Ceph. However, the PVs requested to PersistentVolumeReconciler aren't necessarily provisioned by Rook/Ceph. This commit resolves the problem above by checking that the PV has the correct finalizer before checking calling `getCephClusterIDFromSCName`. Signed-off-by: Ryotaro Banno <[email protected]>
- Loading branch information