From 6f4dc24fce4f7507ffc251e06dfcf325d627fc59 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Thu, 21 Nov 2024 09:11:56 +0100 Subject: [PATCH] csi: update groupsnapshot container arg In external-snapshotter the groupsnapshot feature flag is moved to a new container argument and the old enable-volumegroup-snapshot flag is removed, This PR updates the flag to use external-snapshotter latest version, Note:- As the flag is removed with Rook the user cannot test/use the older version of external-snapshotter for groupsnapshot feature, but all other features will be still supported with older releases. Signed-off-by: Madhu Rajanna --- internal/utils/csi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/utils/csi.go b/internal/utils/csi.go index 56ad91ea..59c12cfa 100644 --- a/internal/utils/csi.go +++ b/internal/utils/csi.go @@ -368,7 +368,7 @@ var PreventVolumeModeConversionContainerArg = "--prevent-volume-mode-conversion= var HonorPVReclaimPolicyContainerArg = "--feature-gates=HonorPVReclaimPolicy=true" var ImmediateTopologyContainerArg = "--immediate-topology=false" var RecoverVolumeExpansionFailureContainerArg = "--feature-gates=RecoverVolumeExpansionFailure=true" -var EnableVolumeGroupSnapshotsContainerArg = "--enable-volume-group-snapshots=true" +var EnableVolumeGroupSnapshotsContainerArg = "--feature-gates=CSIVolumeGroupSnapshot=true" var ForceCephKernelClientContainerArg = "--forcecephkernelclient=true" var LogToStdErrContainerArg = "--logtostderr=false" var AlsoLogToStdErrContainerArg = "--alsologtostderr=true"