Repository navigation
fix(datavolume): update default api_name to "storage" and clarify usage - #2886
ema-aka-young wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. WalkthroughThe DataVolume constructor now defaults ChangesDataVolume default section
Estimated code review effort: 2 (Simple) | ~8 minutes Change: Bug fix Suggested reviewers: Merge Risk:
|
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Cherry-pick Operations
Branch Management
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
AI Features
Security Checks
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
PR Summary by QodoDefault DataVolume target to spec.storage
AI Description
Merge Risk
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can commit Qodo's fix in one click with committable suggestions (GitHub & GitLab) |
Short description:
Default DataVolume.api_name to "storage".
More details:
Remove the transition warning and update the examples. Explicit "pvc" selects spec.pvc, and explicit None omits the target section.
What this PR does / why we need it:
Aligns the wrapper with CDI’s recommended storage API, which supports StorageProfile defaults and filesystem-overhead sizing. CDI documentation
Which issue(s) this PR fixes:
CNV-79539
Special notes for reviewer:
This is a breaking change, but the deprecation warning is there since two versions.
Bug:
Omitting api_name currently selects spec.pvc, bypassing CDI’s spec.storage defaults.
Summary by CodeRabbit
spec.storageby default. To usespec.pvc, specifyapi_name="pvc".Noneleaves the target spec section unset.