Skip to content

Commit 6ca92c0

Browse files
authored
Use VolFromSnapshotOnTargetDs FSS (#3431)
1 parent 693d973 commit 6ca92c0

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

manifests/supervisorcluster/1.30/cns-csi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,6 @@ data:
571571
"sv-pvc-snapshot-protection-finalizer": "false"
572572
"file-volume-with-vm-service": "false"
573573
"csi-transaction-support": "false"
574-
"vol-from-snapshot-on-target-ds": "false"
575574
"linked-clone-support": "false"
576575
kind: ConfigMap
577576
metadata:

manifests/supervisorcluster/1.31/cns-csi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,6 @@ data:
571571
"sv-pvc-snapshot-protection-finalizer": "false"
572572
"file-volume-with-vm-service": "false"
573573
"csi-transaction-support": "false"
574-
"vol-from-snapshot-on-target-ds": "false"
575574
"linked-clone-support": "false"
576575
kind: ConfigMap
577576
metadata:

manifests/supervisorcluster/1.32/cns-csi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,6 @@ data:
569569
"WCP_VMService_BYOK": "true"
570570
"sv-pvc-snapshot-protection-finalizer": "false"
571571
"file-volume-with-vm-service": "false"
572-
"vol-from-snapshot-on-target-ds": "false"
573572
"linked-clone-support": "false"
574573
kind: ConfigMap
575574
metadata:

pkg/csi/service/common/constants.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,9 @@ const (
461461
SharedDiskFss = "supports_shared_disks"
462462
// CSITranSactionSupport is an FSS for transaction support
463463
CSITranSactionSupport = "csi-transaction-support"
464-
// VolFromSnapshotOnTargetDs enables creation of volumes from snapshots on different datastores
465-
VolFromSnapshotOnTargetDs = "vol-from-snapshot-on-target-ds"
464+
// VolFromSnapshotOnTargetDs is a FSS that tells whether creation of volumes from
465+
// snapshots on different datastores feature is supported in CSI.
466+
VolFromSnapshotOnTargetDs = "supports_vol_from_snapshot_on_target_ds"
466467
// LinkedCloneSupport is an FSS that tells whether LinkedClone feature is supported in CSI.
467468
LinkedCloneSupport = "linked-clone-support"
468469
)
@@ -472,6 +473,7 @@ var WCPFeatureStates = map[string]struct{}{
472473
CSIDetachOnSupervisor: {},
473474
WorkloadDomainIsolation: {},
474475
VPCCapabilitySupervisor: {},
476+
VolFromSnapshotOnTargetDs: {},
475477
}
476478

477479
// WCPFeatureStatesSupportsLateEnablement contains capabilities that can be enabled later

0 commit comments

Comments
 (0)