".circleci/config/git@git.gitsec.cn:baidan/vault.git" did not exist on "da65310052152ecd0fe614f831a5bfde240d4b36"
Unverified Commit e195043b authored by Danielle Lancashire's avatar Danielle Lancashire
Browse files

docs: Remove config from volumes

Showing with 5 additions and 12 deletions
+5 -12
......@@ -30,11 +30,8 @@ job "docs" {
group "example" {
volume "certs" {
type = "host"
source = "ca-certificates"
read_only = true
config {
source = "ca-certificates"
}
}
}
}
......@@ -52,14 +49,13 @@ The Nomad client will make the volumes available to tasks according to the
- `type` `(string: "")` - Specifies the type of a given volume. Currently the
only possible volume type is `"host"`.
- `source` `(string: "")` - The name of the volume to request. When using
`host_volume`'s this should match the published name of the host volume.
- `read_only` `(bool: false)` - Specifies that the group only requires read only
access to a volume and is used as the default value for the `volume_mount ->
read_only` configuration. This value is also used for validating `host_volume`
ACLs and for scheduling when a matching `host_volume` requires `read_only`
usage.
- `config` `(json/hcl: nil)` - Specifies the configuration for the volume
provider. For a `host_volume`, the only key is `source`, which is the name of
the volume to request.
[volume_mount]: /docs/job-specification/volume_mount.html "Nomad volume_mount Job Specification"
......@@ -147,10 +147,7 @@ job "mysql-server" {
volume "mysql" {
type = "host"
config {
source = "mysql"
}
source = "mysql"
}
restart {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment