Skip to content

Conversation

NamelessOne91
Copy link

@NamelessOne91 NamelessOne91 commented Oct 24, 2024

Related to #952 and #1017

This PR adds support for a non-destructive resize when a storage volume size is increased.
Shrinking a storage volume will still ultimately result in destroying the existing one and recreating it.

It would have been possible to handle both cases, shrinking and expanding, in the UpdateContext function, but having a CustomizeDiff function allows to correctly differentiate between a resource update and a destroy + add, notifying it to the user.

@NamelessOne91 NamelessOne91 changed the title Feat: Allow increasing a storage volume size Feat: non-destructive increase of a storage volume size Oct 24, 2024
@scabala
Copy link
Contributor

scabala commented Oct 25, 2024

Thank you for this PR @NamelessOne91!

I'll try to test it in following days and give my feedback.

@NamelessOne91 NamelessOne91 marked this pull request as ready for review October 30, 2024 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants