Skip to content

Commit

Permalink
Merge pull request #123 from stuggi/db_section
Browse files Browse the repository at this point in the history
Configure DB using Database section
  • Loading branch information
openshift-merge-bot[bot] committed Jun 17, 2024
2 parents 1105a3e + 3332a3d commit 79f227e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/barbican/config/00-default.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[DEFAULT]
# keep this for backward compatibility
sql_connection = {{ .DatabaseConnection }}
{{ if (index . "ServiceURL") }}
host_href = {{ .ServiceURL }}
Expand All @@ -7,6 +8,11 @@ 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 79f227e

Please sign in to comment.