Open vh05 opened 2 years ago
@JohnStrunk please review the feature
I assume this is specifically for the case where we're using copymethod Direct into an existing PVC.
Something like: If capacity is provided for the destination and the PVC already exists, the CLI can update the PVC's .spec.resources.requests.capacity
to be the max of the current value and the requested capacity.
Caveats:
In such cases, we can error out telling that resize failed
or shrinking not allowed
Describe the feature you'd like to have.
If the user request for a PVC > the capacity of the existing PVC, PVC needs to be resized or error out.
What is the value to the end user? (why is it a priority?)
With this user will have the right capacity of storage for migration.
How will we know we have a good solution? (acceptance criteria)
The capacity request should match the resized PVC