Skip to content

Commit 27e1bed

Browse files
balasankarcSuleimi Ahmed
andcommitted
Merge branch 'container-registry-db-primary' into 'master'
Registry: add database primary configuration See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7262 Merged-by: Balasankar 'Balu' C <[email protected]> Approved-by: Clemens Beck <[email protected]> Approved-by: Andrew Patterson <[email protected]> Approved-by: Balasankar 'Balu' C <[email protected]> Co-authored-by: Suleimi Ahmed <[email protected]>
2 parents 0832ca6 + b2c23c4 commit 27e1bed

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

files/gitlab-config-template/gitlab.rb.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,6 +1006,7 @@ external_url 'GENERATED_EXTERNAL_URL'
10061006
# 'connecttimeout' => '5s',
10071007
# 'draintimeout' => '2m',
10081008
# 'preparedstatements' => false,
1009+
# 'primary' => 'primary.record.fqdn',
10091010
# 'pool' => {
10101011
# 'maxidle' => 25,
10111012
# 'maxopen' => 25,

spec/chef/cookbooks/registry/recipes/registry_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@
157157
"connecttimeout" => "5s",
158158
"draintimeout" => "2m",
159159
"preparedstatements" => false,
160+
"primary" => "primary.record.fqdn",
160161
"pool" => {
161162
"maxidle" => 25,
162163
"maxopen" => 25,

0 commit comments

Comments
 (0)