diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..723ef36 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea \ No newline at end of file diff --git a/templates.d/hashicorpvault/fqdn_context.env b/templates.d/hashicorpvault/fqdn_context.env new file mode 100644 index 0000000..dab07a6 --- /dev/null +++ b/templates.d/hashicorpvault/fqdn_context.env @@ -0,0 +1,11 @@ +{% 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 %} + +# Other available defaults +# RESTARTPOLICY=always +# TIMEZONE=Etc/UTC