From 2b921ad8732fe3733b6a748643fa8e4e7f36f80a Mon Sep 17 00:00:00 2001 From: hygienic-books Date: Sun, 14 May 2023 23:14:22 +0200 Subject: [PATCH] feat(snipeit): Add snipeit render template --- templates.d/snipeit/fqdn-context.env | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 templates.d/snipeit/fqdn-context.env diff --git a/templates.d/snipeit/fqdn-context.env b/templates.d/snipeit/fqdn-context.env new file mode 100644 index 0000000..56f1258 --- /dev/null +++ b/templates.d/snipeit/fqdn-context.env @@ -0,0 +1,9 @@ +{% set VAULT_KEY = getenv("VAULT_KEY") %} +# This file is maintained by remco and populated with data from HashiCorp +# Vault. Changes not done in Vault will be reverted when file gets rendered. + +{% for key in ls(VAULT_KEY|add:"/data") %} +{{key}}={{ getv(VAULT_KEY|add:"/data/"|add:key) }} +{% endfor %} +# Set to true when needed for temporary debugging +APP_DEBUG=false