diff options
author | Alex Auvolat <alex@adnab.me> | 2020-02-10 17:45:10 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-02-10 17:45:10 +0100 |
commit | 9e365d4b538da5f206b5f564f1912c1de26adf10 (patch) | |
tree | 4a85d0f7af04730483c867fdc8da2e99796b8363 /bottin.hcl.example | |
parent | 938311a48e8f71188c489fc0ec9dbe414f1eb3e7 (diff) | |
download | bottin-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.example | 5 |
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 { |