19 lines
622 B
Bash

{% 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 %}
# For logging details and setup instructions you may want to
# check https://www.openldap.org/doc/admin26/slapdconfig.html
#
# Stats log connections/operations/results (this is the default):
# LDAP_LOGLEVEL=256
# Or enable all log levels:
# LDAP_LOGLEVEL=-1
# Other available defaults
# A_RESTART_POLICY=unless-stopped