Allow Gitaly configuration via env variables
Please allow us to tweak Gitaly parameters via env variables, as described in https://docs.gitlab.com/omnibus/settings/memory_constrained_envs.html#optimize-gitaly
@sameersbn First of all, we would like to express our gratitude to you and everyone who helps to keep this project up to date.
Relatively recently in our company there was a need to implement signature verification of commit messages. We made it on the basis of server pre-receive hook. Everything works except Merge Request functionality via Web UI. According to GitLab documentation, you can configure GitLab to add a signature in such cases as well. But this requires changing the configuration of the Gitaly service. Unfortunately, as far as we can see, there is currently no way to customize the configuration via environment variables. How difficult would it be to implement such a feature? First of all, we are interested in the following options (/home/git/gitaly/config.toml):
[git]
committer_name = "Your Instance"
committer_email = "[email protected]"
signing_key = "/etc/gitlab/gitaly/signing_key.gpg"
rotated_signing_keys = ["/etc/gitlab/gitaly/previous_signing_key.gpg"]