Skip to content

Commit 2176e81

Browse files
authored
Use capability for file volumes with VM service VMs feature (#3570)
1 parent 1f6b1ad commit 2176e81

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

manifests/supervisorcluster/1.29/cns-csi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,6 @@ data:
581581
"cns-unregister-volume": "false"
582582
"workload-domain-isolation": "false"
583583
"sv-pvc-snapshot-protection-finalizer": "true"
584-
"file-volume-with-vm-service": "false"
585584
kind: ConfigMap
586585
metadata:
587586
name: csi-feature-states

manifests/supervisorcluster/1.30/cns-csi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ data:
583583
"cns-unregister-volume": "false"
584584
"workload-domain-isolation": "false"
585585
"sv-pvc-snapshot-protection-finalizer": "true"
586-
"file-volume-with-vm-service": "false"
587586
kind: ConfigMap
588587
metadata:
589588
name: csi-feature-states

manifests/supervisorcluster/1.31/cns-csi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ data:
583583
"cns-unregister-volume": "false"
584584
"workload-domain-isolation": "false"
585585
"sv-pvc-snapshot-protection-finalizer": "true"
586-
"file-volume-with-vm-service": "false"
587586
kind: ConfigMap
588587
metadata:
589588
name: csi-feature-states

manifests/supervisorcluster/1.32/cns-csi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ data:
583583
"cns-unregister-volume": "false"
584584
"workload-domain-isolation": "false"
585585
"sv-pvc-snapshot-protection-finalizer": "true"
586-
"file-volume-with-vm-service": "false"
587586
kind: ConfigMap
588587
metadata:
589588
name: csi-feature-states

pkg/csi/service/common/constants.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ const (
439439
// CNS finalizer on supervisor PVC/Snapshots from PVCSI
440440
SVPVCSnapshotProtectionFinalizer = "sv-pvc-snapshot-protection-finalizer"
441441
// FileVolumesWithVmService is an FSS to support file volumes with VM service VMs.
442-
FileVolumesWithVmService = "file-volume-with-vm-service"
442+
FileVolumesWithVmService = "supports_file_volumes_with_VM_service_VMs"
443443
// SharedDiskFss is an FSS that tells whether shared disks are supported or not
444444
SharedDiskFss = "supports_shared_disks_with_VM_service_VMs"
445445
// FCDTransactionSupport is the wcp capability that tells whether transaction is supported in CSI
@@ -474,6 +474,7 @@ var WCPFeatureStates = map[string]struct{}{
474474
BYOKEncryption: {},
475475
FCDTransactionSupport: {},
476476
MultipleClustersPerVsphereZone: {},
477+
FileVolumesWithVmService: {},
477478
}
478479

479480
// WCPFeatureStatesSupportsLateEnablement contains capabilities that can be enabled later
@@ -486,6 +487,8 @@ var WCPFeatureStatesSupportsLateEnablement = map[string]struct{}{
486487
MultipleClustersPerVsphereZone: {},
487488
WCPVMServiceVMSnapshots: {},
488489
BYOKEncryption: {},
490+
SharedDiskFss: {},
491+
FileVolumesWithVmService: {},
489492
}
490493

491494
// WCPFeatureAssociatedWithPVCSI contains FSS name used in PVCSI and associated WCP Capability name on a

0 commit comments

Comments
 (0)