Skip to content

Conversation

@shanduur
Copy link
Member

@shanduur shanduur commented Oct 30, 2025

volumeType in UserVolumeConfig can be set to disk.
When set to disk, a full block device is used for the volume.

When volumeType = "disk":

  • Size specific settings are not allowed in the provisioning block (minSize, maxSize, grow).

// TestUserVolumesBind performs a series of operations on user volumes (bind type): creating, destroying, verifying, etc.
func (suite *VolumesSuite) TestUserVolumesBind() {
// TestUserVolumesDisk performs a series of operations on user volumes (disk type): creating, destroying, verifying, etc.
func (suite *VolumesSuite) TestUserVolumesDisk() {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There needs to be another test for LVM instead of raw disk.

@shanduur shanduur force-pushed the lvm-volumes branch 15 times, most recently from 8ff66bd to 2f08270 Compare November 4, 2025 11:14
When set to `disk`, a full block device is used for the volume.

When `volumeType = "disk"`:
- Size specific settings are not allowed in the provisioning block (`minSize`, `maxSize`, `grow`).

Signed-off-by: Mateusz Urbanek <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: To Do

Development

Successfully merging this pull request may close these issues.

1 participant