-
Notifications
You must be signed in to change notification settings - Fork 292
Support storageProfile minimumSupportedPVCSize in clone #3852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Support storageProfile minimumSupportedPVCSize in clone #3852
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold |
ab884cc to
1c9e46b
Compare
3a3e45d to
6731ed0
Compare
| return storageResources, nil | ||
| } | ||
|
|
||
| if val, exists := storageProfile.Annotations[AnnMinimumSupportedPVCSize]; exists { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This logic is reimplemented in several places in the code, does it make sense to have a single helper and reuse it each time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, fixing that. Thanks!
6731ed0 to
d8e5528
Compare
|
/hold |
When the target DataVolume storage requests a size smaller than the source PVC. For target without size it already worked correctly. Signed-off-by: Arnon Gilboa <[email protected]>
901cab0 to
df3cedc
Compare
|
/test pull-cdi-verify-go-mod |
What this PR does / why we need it:
When the target
DataVolumestorage requests a size smaller than the source PVC. For target without size it already worked correctly.jira-ticket: https://issues.redhat.com/browse/CNV-64264
Release note: