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:
James Rasell
2017-12-13 10:40:22 +00:00
committed by GitHub
parent df4f9da33d
commit 7cd1f55a3b

View File

@@ -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"