feat(haproxy): Add HAProxy render template
This commit is contained in:
parent
80024c70a7
commit
0da290ff3c
7
templates.d/haproxy/fqdn-context.env
Normal file
7
templates.d/haproxy/fqdn-context.env
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{% 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 %}
|
Loading…
x
Reference in New Issue
Block a user