diff options
author | Pavlo Strokov <pstrokov@gitlab.com> | 2021-06-18 16:34:25 +0300 |
---|---|---|
committer | Pavlo Strokov <pstrokov@gitlab.com> | 2021-06-18 16:34:25 +0300 |
commit | a5086f2d1309f060c358b08f5fc43a5fe491017e (patch) | |
tree | 47d822fe40b18762c0d540de3b3f377124b6fc79 /doc/configuration/README.md | |
parent | f1f3df916b24d2d25e879ed6e81fc3bac0e311af (diff) |
Remove deprecated env config values
GITALY_SOCKET_PATH, GITALY_LISTEN_ADDR and GITALY_PROMETHEUS_LISTEN_ADDR
were marked as deprecated in eb5b9b3af (Document GITALY_DEBUG, 2017-05-10).
It is time to remove them from the code.
To exclude situation when some configuration values could be overridden
by the env vars by mistake the change removes envconfig.Process call
on the gitaly configuration struct.
Diffstat (limited to 'doc/configuration/README.md')
-rw-r--r-- | doc/configuration/README.md | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/doc/configuration/README.md b/doc/configuration/README.md index 936477ce5..834748874 100644 --- a/doc/configuration/README.md +++ b/doc/configuration/README.md @@ -182,44 +182,3 @@ level = "warn" |sentry_dsn|string|no|Sentry DSN for exception monitoring| |sentry_environment|string|no|Sentry Environment for exception monitoring| |ruby_sentry_dsn|string|no|Sentry DSN for gitaly-ruby exception monitoring| - -## Environment variables - -### GITALY_SOCKET_PATH - -Required unless GITALY_LISTEN_ADDR is set. Overrides `socket_path` in -config.toml. Deprecated; use config.toml. - -A path at which Gitaly should open a Unix socket. Example value: - -``` -GITALY_SOCKET_PATH=/home/git/gitlab/tmp/sockets/private/gitaly.socket -``` - -### GITALY_LISTEN_ADDR - -Required unless GITALY_SOCKET_PATH is set. Overrides `listen_addr` in -config.toml. Deprecated; use config.toml. - -TCP address for Gitaly to listen on. Note: at the moment Gitaly does -not offer any form of authentication. When you use a TCP listener you -must use firewalls or other network-based security to restrict access -to Gitaly. - -Example value: - -``` -GITALY_LISTEN_ADDR=localhost:1234 -``` - -### GITALY_PROMETHEUS_LISTEN_ADDR - -Optional. Overrides `prometheus_listen_addr` in config.toml. -Deprecated; use config.toml. - -TCP listen address for Prometheus metrics. When missing or empty, no -Prometheus listener is started. - -``` -GITALY_PROMETHEUS_LISTEN_ADDR=localhost:9236 -``` |