mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
The `volume init` command creates example volume specifications. But one of the values for `capability.access_mode` is not a valid value. Correct the example to match the validation logic.
25 lines
458 B
JSON
25 lines
458 B
JSON
{
|
|
"id": "disk_prod_db1",
|
|
"namespace": "default",
|
|
"name": "database",
|
|
"type": "host",
|
|
"plugin_id": "plugin_id",
|
|
"capacity_min": "10GiB",
|
|
"capacity_max": "20G",
|
|
"capability": [
|
|
{
|
|
"access_mode": "single-node-writer",
|
|
"attachment_mode": "file-system"
|
|
},
|
|
{
|
|
"access_mode": "single-node-reader-only",
|
|
"attachment_mode": "block-device"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"skuname": "Premium_LRS"
|
|
}
|
|
]
|
|
}
|