gitaly: Unconditionally ignore the gitconfig
In 4bf3bf85 (gitaly: Reintroduce migration to [[git.config]] stanzas, 2022-07-13), we introduced a toggle telling Gitaly to ignore any gitconfig files on the local disk. Git configuration should only have one source of truth, and with this toggle enabled Gitaly only uses its own default values and overrides must be provided by the administrator through the new `[[git.config]]` stanzas. Because the initial attempt had to be reverted, this feature was rolled out to our production fleet gated behind an opt-in flag. We observed no change in behavior during testing, so this toggle may now be removed and local gitconfig files will be permanently ignored. Removes the flag and gitaly now ignores the gitconfig unconditionally. Closes https://gitlab.com/gitlab-org/gitaly/-/issues/4230 Changelog: changed
Showing
- files/gitlab-cookbooks/gitaly/attributes/default.rb 0 additions, 1 deletionfiles/gitlab-cookbooks/gitaly/attributes/default.rb
- files/gitlab-cookbooks/gitaly/libraries/gitaly.rb 0 additions, 8 deletionsfiles/gitlab-cookbooks/gitaly/libraries/gitaly.rb
- files/gitlab-cookbooks/gitaly/templates/default/gitaly-config.toml.erb 2 additions, 4 deletions...cookbooks/gitaly/templates/default/gitaly-config.toml.erb
- spec/chef/cookbooks/gitaly/recipes/gitaly_spec.rb 0 additions, 24 deletionsspec/chef/cookbooks/gitaly/recipes/gitaly_spec.rb
Loading
Please register or sign in to comment