Charlie Voiselle
2a50205128
Incorporate review wording changes
...
Added text from review comments per @csawyerYumaed.
2018-03-05 13:11:35 -05:00
csawyerYumaed
88ed5ad112
Template docs, add vault PKI integration example.
...
Update the template documentation, and add a vault PKI integration example.
2018-02-26 12:41:39 -08:00
James Rasell
07134665c2
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.
2017-12-13 10:40:22 +00:00
Alex Dadgar
acee89ed2a
fix vault grace docs
2017-11-13 09:59:20 -08:00
Alex Dadgar
56c4a50ba1
vault_grace doc
2017-10-13 10:15:44 -07:00
Alex Dadgar
961eb4c40e
documentation
2017-10-11 17:48:18 -07:00
Alex Dadgar
067a638478
Allow template to set Vault grace
...
This PR allows a template to specify the Vault grace duration.
Fixes https://github.com/hashicorp/nomad/issues/2922
2017-08-01 14:14:08 -07:00
Michael Schurter
07436d4b03
Merge pull request #2898 from hashicorp/d-config-tasks-env
...
Mention templates & env vars in configuring tasks
2017-07-25 16:54:55 -07:00
Michael Schurter
ca5272dece
Mention node attrs
2017-07-25 16:53:10 -07:00
Michael Schurter
46a17c39bf
Write secrets to secrets!
2017-07-25 09:51:11 -07:00
Michael Schurter
19dd0be377
Use better example for env template
2017-07-24 16:40:39 -07:00
Charlie Voiselle
3cff38ff94
Spellcheck sweep of website directory
...
Caught some typos. Made units separate from the numbers 1GHz -> 1 GHz
after talking to Nick about questions of style (this has the side effect of making future spell checking easier).
2017-07-17 14:41:50 -04:00
Michael Schurter
73425f6d85
Update template docs to mention json encoding newlines
2017-06-02 15:08:08 -07:00
Seth Vargo
df31b83468
Cleanup links to limit redirects
2017-05-30 20:25:11 -04:00
Michael Schurter
dd51aa1cb9
Merge pull request #2654 from hashicorp/f-env-consul
...
Add envconsul-like support and refactor environment handling
2017-05-30 14:40:14 -07:00
Michael Schurter
2e57f39915
Minor wording updates
2017-05-24 13:55:21 -07:00
Alex Dadgar
541241acc3
Update template.html.md
2017-05-24 09:54:22 -07:00
Michael Schurter
bf0be17ddd
Document env templates
2017-05-23 17:25:21 -07:00
Alex Dadgar
b2f692ff42
better change_mode explanation for templates
2017-05-03 12:40:27 -07:00
Alex Dadgar
23562d77c9
Access Node Meta and Attrs in template
...
This PR allows accessing the Node's attributes and metadata as in a
template.
```
template {
data = "{{ env \"attr.unique.network.ip-address\" }}"
destination = "local/out"
}
```
2017-03-27 15:15:33 -07:00
Christian Winther
b12323f08c
Fix #2445
...
Close #2445 - typo in docs
2017-03-14 10:12:48 +01:00
Alex Dadgar
b49fceb491
rebase
2017-02-20 16:43:28 -08:00
Alex Dadgar
1a960ee5cd
Grammar fix
2017-02-02 11:28:04 -08:00
Alex Dadgar
6b7efa1ba6
Template destination file permissions.
...
This PR allows setting the file permissions of the rendered template.
2017-01-31 20:10:01 -08:00
Alex Dadgar
7e5679c321
alphabetical
2017-01-25 21:27:44 -08:00
Alex Dadgar
a1fef22a04
Update template json docs
2017-01-24 09:12:42 -08:00
Michael Schurter
a1f0404a45
Try to use more useful example env vars
2017-01-23 17:02:23 -08:00
Michael Schurter
d7c6ff58dd
Mention nomad's runtime environment being available now
2017-01-23 15:54:56 -08:00
Michael Schurter
a24f739c08
Add example of env vars in templates
2017-01-23 15:50:38 -08:00
Bastiaan Bakker
68a8396d9b
s/Vault token/rendered template/
2016-11-14 21:59:42 +01:00
Alex Dadgar
46893c7558
Merge pull request #1921 from hashicorp/f-abs-templ
...
Allow absolute paths for template sources
2016-11-07 12:28:49 -08:00
Seth Vargo
4a1fa67f26
Separate agent configuration into its own pages
...
I apologize in advance for the rather long PR, but unfortunately there
is not an easy way to break this up into smaller chunks. This separates
the agent configuration into smaller, more consumable pieces just like
the job specification.
2016-11-02 18:30:00 -04:00
Alex Dadgar
2a5ac5e7ee
Allow absolute paths for template sources
2016-11-02 13:04:47 -07:00
Jussi Kalliokoski
6c357343d6
Fixed a grammar mistake in template docs.
2016-11-01 16:17:21 +02:00
Seth Vargo
c13a9de213
Specify restart policy is not the same as restart behavior
2016-10-31 16:53:18 -04:00
Seth Vargo
291c247183
Add multiline string template example
2016-10-31 16:53:17 -04:00
Seth Vargo
26526d8ce7
Fix multiline
2016-10-31 16:53:17 -04:00
Seth Vargo
e3be0e6509
Clarify templates must pre-exist and cannot come from the container
2016-10-31 16:52:57 -04:00
Seth Vargo
c6603cddee
Add template example
2016-10-31 16:52:55 -04:00