From 07652906f8c004571b8999cd65c3721733fc0cb0 Mon Sep 17 00:00:00 2001 From: Kevin Bimonte Date: Sat, 26 Oct 2024 11:26:47 -0400 Subject: [PATCH] feat: Add Vault Client Token Path Ops File (#259) Signed-off-by: Kevin Bimonte --- cluster/operations/vault-client-token-path.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/cluster/operations/vault-client-token-path.yml b/cluster/operations/vault-client-token-path.yml index e69de29..41ea2d1 100644 --- a/cluster/operations/vault-client-token-path.yml +++ b/cluster/operations/vault-client-token-path.yml @@ -0,0 +1,15 @@ +# +# This operations file will configure web to accept the Vault Client +# Token from a file +# +# Requires the vault.yml ops file +# + +--- +- type: remove + path: /instance_groups/name=web/jobs/name=web/properties/vault/auth/client_token + +- type: replace + path: /instance_groups/name=web/jobs/name=web/properties/vault/auth? + value: + client_token_path: ((vault.client_token_path)) \ No newline at end of file