From 7079ad0c42c4223cc98643a1b863cca4e604b281 Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Tue, 25 Jul 2017 10:28:50 -0700 Subject: [PATCH] Mention env templates in nomad init --- command/init.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/command/init.go b/command/init.go index b83c7cea9..b9e7ac43e 100644 --- a/command/init.go +++ b/command/init.go @@ -337,6 +337,15 @@ job "example" { # change_signal = "SIGHUP" # } + # The "template" stanza can also be used to create env vars for tasks + # that prefer those to config files. + # + # template { + # data = "KEY={{ key \"service/my-key\" }}" + # destination = "local/file.env" + # env = true + # } + # The "vault" stanza instructs the Nomad client to acquire a token from # a HashiCorp Vault server. The Nomad servers must be configured and # authorized to communicate with Vault. By default, Nomad will inject