docs: add entry for volume_mount in task

This commit is contained in:
Luiz Aoqui 2020-09-01 18:59:05 -04:00
parent 7b99eea0e4
commit e4073ab8de
No known key found for this signature in database
GPG key ID: 29F459C0D9CBB573

View file

@ -107,6 +107,9 @@ job "docs" {
required by the task. This overrides any `vault` block set at the `group` or required by the task. This overrides any `vault` block set at the `group` or
`job` level. `job` level.
- `volume_mount` <code>([VolumeMount][]: nil)</code> - Specifies where a group
volume should be mounted.
- `kind` `(string: <varies>)` - Used internally to manage tasks according to - `kind` `(string: <varies>)` - Used internally to manage tasks according to
the value of this field. Initial use case is for Consul Connect. the value of this field. Initial use case is for Consul Connect.
@ -202,6 +205,7 @@ task "server" {
[logs]: /docs/job-specification/logs 'Nomad logs Job Specification' [logs]: /docs/job-specification/logs 'Nomad logs Job Specification'
[service]: /docs/job-specification/service 'Nomad service Job Specification' [service]: /docs/job-specification/service 'Nomad service Job Specification'
[vault]: /docs/job-specification/vault 'Nomad vault Job Specification' [vault]: /docs/job-specification/vault 'Nomad vault Job Specification'
[volumemount]: /docs/job-specification/volume_mount 'Nomad volume_mount Job Specification'
[exec]: /docs/drivers/exec 'Nomad exec Driver' [exec]: /docs/drivers/exec 'Nomad exec Driver'
[java]: /docs/drivers/java 'Nomad Java Driver' [java]: /docs/drivers/java 'Nomad Java Driver'
[docker]: /docs/drivers/docker 'Nomad Docker Driver' [docker]: /docs/drivers/docker 'Nomad Docker Driver'