aboutsummaryrefslogtreecommitdiff
path: root/bottin.hcl.example
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-10 17:45:10 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-10 17:45:10 +0100
commit9e365d4b538da5f206b5f564f1912c1de26adf10 (patch)
tree4a85d0f7af04730483c867fdc8da2e99796b8363 /bottin.hcl.example
parent938311a48e8f71188c489fc0ec9dbe414f1eb3e7 (diff)
downloadbottin-9e365d4b538da5f206b5f564f1912c1de26adf10.tar.gz
bottin-9e365d4b538da5f206b5f564f1912c1de26adf10.zip
Update nomad hcl file to use template instead of artifact
Diffstat (limited to 'bottin.hcl.example')
-rw-r--r--bottin.hcl.example5
1 files changed, 2 insertions, 3 deletions
diff --git a/bottin.hcl.example b/bottin.hcl.example
index 8fb12eb..3d977d4 100644
--- a/bottin.hcl.example
+++ b/bottin.hcl.example
@@ -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 {