From 9e365d4b538da5f206b5f564f1912c1de26adf10 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 10 Feb 2020 17:45:10 +0100 Subject: Update nomad hcl file to use template instead of artifact --- bottin.hcl.example | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bottin.hcl.example') 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 { -- cgit v1.2.3