From e82bcd7be7ea8019dff2eb80d7a7bc548891a1bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joseph=20N=C3=BA=C3=B1ez?= Date: Sun, 25 Mar 2018 19:45:14 -0300 Subject: [PATCH 1/2] website: fix typo in Vault stanza docs --- website/source/docs/job-specification/vault.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/job-specification/vault.html.md b/website/source/docs/job-specification/vault.html.md index cc56ff8f3..aa3f9adaa 100644 --- a/website/source/docs/job-specification/vault.html.md +++ b/website/source/docs/job-specification/vault.html.md @@ -80,7 +80,7 @@ with Vault as well. should be set when starting the task. - `policies` `(array: [])` - Specifies the set of Vault policies that - the task requires. The Nomad client will generate a a Vault token that is + the task requires. The Nomad client will generate a Vault token that is limited to those policies. ## `vault` Examples From a5f7cc7e1ea19d98b974ed7f5fe0acf87c5a4e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joseph=20N=C3=BA=C3=B1ez?= Date: Sun, 25 Mar 2018 20:23:05 -0300 Subject: [PATCH 2/2] website: removed duplicated text --- website/source/docs/job-specification/vault.html.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/website/source/docs/job-specification/vault.html.md b/website/source/docs/job-specification/vault.html.md index aa3f9adaa..160786eae 100644 --- a/website/source/docs/job-specification/vault.html.md +++ b/website/source/docs/job-specification/vault.html.md @@ -50,13 +50,8 @@ The Nomad client will make the Vault token available to the task by writing it to the secret directory at `secret/vault_token` and by injecting a VAULT_TOKEN environment variable. -If Vault token renewal fails due to a Vault outage, the Nomad client will -attempt to retrieve a new Vault token. When the new Vault token is retrieved, -the contents of the file will be replaced and action will be taken based on the -`change_mode`. - If Nomad is unable to renew the Vault token (perhaps due to a Vault outage or -network error), the client will retrieve a new Vault token. If successful, the +network error), the client will attempt to retrieve a new Vault token. If successful, the contents of the secrets file are updated on disk, and action will be taken according to the value set in the `change_mode` parameter.