feat(hashicorpvault): Add template

This commit is contained in:
hygienic-books 2025-01-29 01:21:12 +01:00
parent a9b3d5102b
commit 258bf06211
2 changed files with 12 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.idea

View File

@ -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