File tree Expand file tree Collapse file tree 2 files changed +61
-0
lines changed Expand file tree Collapse file tree 2 files changed +61
-0
lines changed Original file line number Diff line number Diff line change @@ -351,6 +351,36 @@ Default value: `undef`
351351Data type: ` Optional[Hash] `
352352
353353Hash of git data directories
354+ ** Deprecated** : This option was removed in Gitlab 18.
355+
356+ To configure the storage location for a Gitaly node:
357+ ``` patch
358+ - git_data_dirs => {
359+ - 'default' => { 'path' => '/mnt/example/git-data'},
360+ - },
361+ + gitaly => {
362+ + configuration => {
363+ + 'storage' => [
364+ + {
365+ + 'name' => 'default',
366+ + 'path' => '/mnt/example/git-data/repositories',
367+ + },
368+ + ],
369+ + },
370+ + },
371+ ```
372+
373+ To configure the storage location for other nodes:
374+ ``` patch
375+ - git_data_dirs => {
376+ - 'default' => { 'gitaly_address' => 'tcp://gitaly1.internal:8075'},
377+ - },
378+ + gitlab_rails => {
379+ + repositories_storages => {
380+ + 'default' => { 'gitaly_address' => 'tcp://gitaly1.internal:8075'},
381+ + },
382+ + },
383+ ```
354384
355385Default value: ` undef `
356386
Original file line number Diff line number Diff line change 2727# @param git Hash of 'omnibus_gitconfig' config parameters.
2828# @param gitaly Hash of 'omnibus_gitconfig' config parameters.
2929# @param git_data_dirs Hash of git data directories
30+ #
31+ # **Deprecated**: This option was removed in Gitlab 18.
32+ #
33+ # To configure the storage location for a Gitaly node:
34+ # ```patch
35+ # - git_data_dirs => {
36+ # - 'default' => { 'path' => '/mnt/example/git-data'},
37+ # - },
38+ # + gitaly => {
39+ # + configuration => {
40+ # + 'storage' => [
41+ # + {
42+ # + 'name' => 'default',
43+ # + 'path' => '/mnt/example/git-data/repositories',
44+ # + },
45+ # + ],
46+ # + },
47+ # + },
48+ # ```
49+ #
50+ # To configure the storage location for other nodes:
51+ # ```patch
52+ # - git_data_dirs => {
53+ # - 'default' => { 'gitaly_address' => 'tcp://gitaly1.internal:8075'},
54+ # - },
55+ # + gitlab_rails => {
56+ # + repositories_storages => {
57+ # + 'default' => { 'gitaly_address' => 'tcp://gitaly1.internal:8075'},
58+ # + },
59+ # + },
60+ # ```
3061# @param gitlab_git_http_server Hash of 'gitlab_git_http_server' config parameters.
3162# @param gitlab_ci Hash of 'gitlab_ci' config parameters.
3263# @param gitlab_kas Hash of 'gitlab_kas' config parameters.
You can’t perform that action at this time.
0 commit comments