forked from Deuxfleurs/bottin
Update nomad hcl file to use template instead of artifact
This commit is contained in:
parent
938311a48e
commit
9e365d4b53
1 changed files with 2 additions and 3 deletions
|
@ -22,10 +22,9 @@ job "directory" {
|
|||
]
|
||||
}
|
||||
|
||||
artifact {
|
||||
source = "http://127.0.0.1:8500/v1/kv/configuration/directory/bottin/config.json?raw"
|
||||
template {
|
||||
data = "{{ key \"configuration/directory/bottin/config.json\" }}"
|
||||
destination = "secrets/config.json"
|
||||
mode = "file"
|
||||
}
|
||||
|
||||
resources {
|
||||
|
|
Loading…
Reference in a new issue