github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/demo/csi/ceph-csi-plugin/example_volume.hcl (about) 1 type = "csi" 2 id = "testvol" 3 name = "test_volume" 4 # this must be strictly formatted, see README 5 external_id = "ffff-0024-01616094-9d93-4178-bf45-c7eac19e8b15-000000000000ffff-00000000-1111-2222-bbbb-cacacacacaca" 6 access_mode = "single-node-writer" 7 attachment_mode = "block-device" 8 plugin_id = "ceph-csi" 9 mount_options { 10 fs_type = "ext4" 11 } 12 parameters {} 13 secrets { 14 userID = "<userid>" 15 userKey = "<userkey>" 16 } 17 context { 18 # note: although these are 'parameters' in the ceph-csi spec 19 # they are passed through to the provider as 'context' 20 clusterID = "<clusterid>" 21 pool = "my_pool" 22 }