mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
Merge pull request #2109 from justinwalz/json_docs_vault
add vault example for JSON api
This commit is contained in:
@@ -82,6 +82,12 @@ Below is an example of a JSON object that submits a `periodic` job to Nomad:
|
||||
]
|
||||
}
|
||||
],
|
||||
"Vault": {
|
||||
"Policies": ["policy-name"],
|
||||
"Env": true,
|
||||
"ChangeMode": "restart",
|
||||
"ChangeSignal": ""
|
||||
},
|
||||
"Resources":{
|
||||
"CPU":500,
|
||||
"MemoryMB":256,
|
||||
|
||||
Reference in New Issue
Block a user