@@ -65,6 +65,9 @@ const (
65
65
PrefixedSnapshotterListSecretNameKey = csiParameterPrefix + "snapshotter-list-secret-name" // Prefixed name key for ListSnapshots secret
66
66
PrefixedSnapshotterListSecretNamespaceKey = csiParameterPrefix + "snapshotter-list-secret-namespace" // Prefixed namespace key for ListSnapshots secret
67
67
68
+ PrefixedGroupSnapshotterGetSecretNameKey = csiParameterPrefix + "group-snapshotter-get-secret-name" // Prefixed name key for GetVolumeGroupSnapshot secret
69
+ PrefixedGroupSnapshotterGetSecretNamespaceKey = csiParameterPrefix + "group-snapshotter-get-secret-namespace" // Prefixed namespace key for GetVolumeGroupSnapshot secret
70
+
68
71
PrefixedVolumeSnapshotNameKey = csiParameterPrefix + "volumesnapshot/name" // Prefixed VolumeSnapshot name key
69
72
PrefixedVolumeSnapshotNamespaceKey = csiParameterPrefix + "volumesnapshot/namespace" // Prefixed VolumeSnapshot namespace key
70
73
PrefixedVolumeSnapshotContentNameKey = csiParameterPrefix + "volumesnapshotcontent/name" // Prefixed VolumeSnapshotContent name key
@@ -176,6 +179,12 @@ var SnapshotterListSecretParams = secretParamsMap{
176
179
secretNamespaceKey : PrefixedSnapshotterListSecretNamespaceKey ,
177
180
}
178
181
182
+ var GroupSnapshotterGetSecretParams = secretParamsMap {
183
+ name : "GroupSnapshotterGet" ,
184
+ secretNameKey : PrefixedGroupSnapshotterGetSecretNameKey ,
185
+ secretNamespaceKey : PrefixedGroupSnapshotterGetSecretNamespaceKey ,
186
+ }
187
+
179
188
// Annotations on VolumeSnapshotContent objects entirely controlled by csi-snapshotter
180
189
// Changes to these annotations will be ignored for determining whether to sync changes to content objects
181
190
// AnnVolumeSnapshotBeingCreated is managed entirely by the csi-snapshotter sidecar
@@ -548,6 +557,8 @@ func RemovePrefixedParameters(param map[string]string) (map[string]string, error
548
557
case PrefixedSnapshotterSecretNamespaceKey :
549
558
case PrefixedSnapshotterListSecretNameKey :
550
559
case PrefixedSnapshotterListSecretNamespaceKey :
560
+ case PrefixedGroupSnapshotterGetSecretNameKey :
561
+ case PrefixedGroupSnapshotterGetSecretNamespaceKey :
551
562
case PrefixedGroupSnapshotterSecretNameKey :
552
563
case PrefixedGroupSnapshotterSecretNamespaceKey :
553
564
default :
0 commit comments