feat(hashicorpvault): Add template
This commit is contained in:
parent
a9b3d5102b
commit
258bf06211
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.idea
|
11
templates.d/hashicorpvault/fqdn_context.env
Normal file
11
templates.d/hashicorpvault/fqdn_context.env
Normal 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
|
Loading…
x
Reference in New Issue
Block a user