-
Notifications
You must be signed in to change notification settings - Fork 295
Allow mutating only PVC requested size to the minimum supported #3890
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
Conversation
by the relevant StorageProfile, but without applying the StorageProfile accessModes, volumeMode, or filesystemOverhead. Signed-off-by: Arnon Gilboa <[email protected]>
|
[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 |
|
@arnongilboa: The following test failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
| // PvcApplyStorageProfileLabel tells whether the PVC should be rendered by the mutating webhook based on StorageProfiles | ||
| PvcApplyStorageProfileLabel = CDIComponentLabel + "/applyStorageProfile" | ||
| // PvcApplyStorageProfileMinimumSize tells whether the PVC mutating webhook rendering should apply only the StorageProfile minimum volume size if exists | ||
| PvcApplyStorageProfileMinimumSize = "minimumSize" |
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.
Do we plan to add more applyStorageProfile modes? (accesmode, volume mode, etc)
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.
Even if it's just this one we should update the repository's docs with info about the possible options.
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 PR is just an option for consideration. I'm not sure it's the best one, and that's why it's on hold :)
What this PR does / why we need it:
Allow mutating only the PVC requested size to the minimum supported by the relevant
StorageProfile, but without applying theStorageProfileaccessModes,volumeMode, orfilesystemOverhead.Release note: