These docs are for Rancher 1.6, if you are looking for Rancher 2.x docs, see
here.
VolumeTemplate
Resource Fields
Writeable Fields
Field |
Type |
Create |
Update |
Default |
Notes |
description |
string |
Optional |
Yes |
- |
|
driver |
string |
Optional |
- |
- |
|
driverOpts |
map[string] |
Optional |
- |
- |
|
external |
boolean |
Optional |
- |
- |
|
name |
string |
Yes |
Yes |
- |
|
perContainer |
boolean |
Optional |
- |
- |
|
stackId |
stack |
Yes |
- |
- |
|
Read Only Fields
Field |
Type |
Notes |
data |
map[json] |
|
id |
int |
The unique identifier for the volumeTemplate |
Please read more about the common resource fields. These fields are read only and applicable to almost every resource. We have segregated them from the list above.