Current implementation relies on requested volume size on the source cluster. It is computed from the requests fields in the PVC. Requested PVC size is not necessarily the same as the provisioned volume size. We should instead use the actual provisioned volume size for PVC creation.
Related to #92
Current implementation relies on requested volume size on the source cluster. It is computed from the requests fields in the PVC. Requested PVC size is not necessarily the same as the provisioned volume size. We should instead use the actual provisioned volume size for PVC creation.
See following example :
The requested volume size above is
1100Mi
. However, the actual provisioned size is2Gi
.