Skip to content

Add field storage_class_name in config for support dv with custom storage class name#25

Open
thuanpham582002 wants to merge 1 commit into
hashicorp:mainfrom
thuanpham582002:main
Open

Add field storage_class_name in config for support dv with custom storage class name#25
thuanpham582002 wants to merge 1 commit into
hashicorp:mainfrom
thuanpham582002:main

Conversation

@thuanpham582002

Copy link
Copy Markdown

Description

Change on step create virtual machine. And config file variable.
This pull request adds support for specifying a custom storage class for the root disk in the KubeVirt ISO builder. The changes ensure that if a storage_class_name is provided in the configuration, it will be used for persistent volumes created for the VM; otherwise, the default storage class is used. This improves flexibility for environments with multiple storage classes.

Rollback Plan

If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

@thuanpham582002 thuanpham582002 requested a review from a team as a code owner October 16, 2025 09:59
@hashicorp-cla-app

hashicorp-cla-app Bot commented Oct 16, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@hashicorp-cla-app

Copy link
Copy Markdown

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.

…creation

Add optional StorageClassName field to configuration and implement support
for specifying storage class names when creating DataVolumes and VirtualMachines.
This allows users to control which storage class is used for their volumes.

Signed-off-by: [Your Name] <your.email@example.com>
Signed-off-by: thuanpham582002 <tienthuan05082002@gmail.com>
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.

1 participant