Update Cinder CSI example docs (#9267)

This commit is contained in:
Ricky Grassmuck 2020-11-05 07:19:16 -06:00 committed by GitHub
parent 20ec481090
commit e8445a627e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -33,10 +33,10 @@ EOF
args = [
"/bin/cinder-csi-plugin",
"-v=4",
"--endpoint=unix:///csi/csi.sock",
"--cloud-config=/etc/config/cloud.conf",
"--nodeid=${node.unique.name}",
"--cluster=${NOMAD_DC}"
]
privileged = true
}
@ -72,6 +72,7 @@ EOF
args = [
"/bin/cinder-csi-plugin",
"-v=4",
"--endpoint=unix:///csi/csi.sock",
"--cloud-config=/etc/config/cloud.conf",
"--nodeid=${node.unique.name}",

View File

@ -3,8 +3,8 @@ id = "testvol"
name = "test_volume"
external_id = "56as4da-as524d-asd9-asd8-asdasd52555"
access_mode = "single-node-writer"
attachment_mode = "block-device"
attachment_mode = "file-system"
plugin_id = "cinder-csi"
mount_options {
fs_type = "ext4"
}
}