mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
Update template.html.md Vault template example
The change updates the Vault example within the Environment Variables section to use the `.value` notation rather than the `.key` notation. This is because the example is calling a specific secret key and populating an env var with this; meaning the value of the secret is required over the value.
This commit is contained in:
@@ -191,7 +191,7 @@ template {
|
||||
|
||||
# Empty lines are also ignored
|
||||
LOG_LEVEL="{{key "service/geo-api/log-verbosity"}}"
|
||||
API_KEY="{{with secret "secret/geo-api-key"}}{{.Data.key}}{{end}}"
|
||||
API_KEY="{{with secret "secret/geo-api-key"}}{{.Data.value}}{{end}}"
|
||||
EOH
|
||||
|
||||
destination = "secrets/file.env"
|
||||
|
||||
Reference in New Issue
Block a user