Commit 3e6ef61e authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Replace whitelist in high_availability/ dir

https://gitlab.com/groups/gitlab-org/-/epics/3478
parent 18bcb34c
...@@ -170,7 +170,7 @@ If you enable Monitoring, it must be enabled on **all** GitLab servers. ...@@ -170,7 +170,7 @@ If you enable Monitoring, it must be enabled on **all** GitLab servers.
sidekiq['listen_address'] = "0.0.0.0" sidekiq['listen_address'] = "0.0.0.0"
puma['listen'] = '0.0.0.0' puma['listen'] = '0.0.0.0'
# Add the monitoring node's IP address to the monitoring whitelist and allow it to # Add the monitoring node's IP address to the monitoring list that allows it to
# scrape the NGINX metrics. Replace placeholder `monitoring.gitlab.example.com` with # scrape the NGINX metrics. Replace placeholder `monitoring.gitlab.example.com` with
# the address and/or subnets gathered from the monitoring node(s). # the address and/or subnets gathered from the monitoring node(s).
gitlab_rails['monitoring_whitelist'] = ['monitoring.gitlab.example.com', '127.0.0.0/8'] gitlab_rails['monitoring_whitelist'] = ['monitoring.gitlab.example.com', '127.0.0.0/8']
......
...@@ -66,7 +66,7 @@ you want using steps 1 and 2 from the GitLab downloads page. ...@@ -66,7 +66,7 @@ you want using steps 1 and 2 from the GitLab downloads page.
gitlab_rails['auto_migrate'] = false gitlab_rails['auto_migrate'] = false
``` ```
Remember to add the Sidekiq nodes to the PostgreSQL whitelist: Remember to add the Sidekiq nodes to PostgreSQL's trusted addresses:
```ruby ```ruby
postgresql['trust_auth_cidr_addresses'] = %w(127.0.0.1/32 10.10.1.30/32 10.10.1.31/32 10.10.1.32/32 10.10.1.33/32 10.10.1.38/32) postgresql['trust_auth_cidr_addresses'] = %w(127.0.0.1/32 10.10.1.30/32 10.10.1.31/32 10.10.1.32/32 10.10.1.33/32 10.10.1.38/32)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment