Skip to content

Commit

Permalink
Configure DB using Database section
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Schuppert <[email protected]>
  • Loading branch information
stuggi committed Jun 17, 2024
1 parent 1105a3e commit 7af069e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/barbican/config/00-default.conf
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
[DEFAULT]
sql_connection = {{ .DatabaseConnection }}
{{ if (index . "ServiceURL") }}
host_href = {{ .ServiceURL }}
{{ end }}
debug = true
transport_url = {{ .TransportURL }}
log_file = {{ .LogFile }}

[database]
max_retries=-1
db_max_retries=-1
connection={{ .DatabaseConnection }}

{{ if (index . "KeystoneAuthURL") }}
[keystone_authtoken]
auth_version = v3
Expand Down

0 comments on commit 7af069e

Please sign in to comment.