add vault example for JSON api
This commit is contained in:
parent
abf2ec76cc
commit
7e7c201d22
|
@ -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":{
|
"Resources":{
|
||||||
"CPU":500,
|
"CPU":500,
|
||||||
"MemoryMB":256,
|
"MemoryMB":256,
|
||||||
|
|
Loading…
Reference in New Issue