mirror of
https://github.com/kemko/nomad.git
synced 2026-01-02 08:25:43 +03:00
Merge pull request #2899 from hashicorp/d-mention-env-in-init
Mention env templates in nomad init
This commit is contained in:
@@ -337,6 +337,16 @@ job "example" {
|
||||
# change_signal = "SIGHUP"
|
||||
# }
|
||||
|
||||
# The "template" stanza can also be used to create environment variables
|
||||
# for tasks that prefer those to config files. The task will be restarted
|
||||
# when data pulled from Consul or Vault changes.
|
||||
#
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user