feat(haproxy): Add HAProxy render template

This commit is contained in:
hygienic-books 2023-05-02 01:43:06 +02:00
parent 80024c70a7
commit 0da290ff3c

View 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 %}