Skip to content

Commit dfd7c78

Browse files
committed
Add tags to VolumeInfo
This patch adds an optional field "tags" to "VolumeInfo". The "tags" field is a "map[string]string" and can contain additional attributes related to a volume.
1 parent d68da7a commit dfd7c78

File tree

3 files changed

+226
-203
lines changed

3 files changed

+226
-203
lines changed

csi.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,11 @@ message VolumeInfo {
247247
// REQUIRED. The identity information will be used by the CO in
248248
// subsequent calls to refer to the provisioned volume.
249249
VolumeHandle handle = 2;
250+
251+
// Tags captures additional attributes related to the volume. This
252+
// field is OPTIONAL. This field is NOT REQUIRED when submitting
253+
// a VolumeInfo object to ValidateVolumeCapabilities.
254+
map<string, string> tags = 3;
250255
}
251256

252257
// VolumeHandle objects are generated by Plugin implementations to

0 commit comments

Comments
 (0)