File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -392,6 +392,14 @@ gitlab_postgresql_db_password: 'changeme'
392392
393393**Caution: You have to use your own private and encrypted password here.**
394394
395+ # ### Configure monitoring whitelist for Gitlab rails
396+
397+ Configure the monitoring whitelist for GitLab-Rails :
398+
399+ ` ` ` yaml
400+ gitlab_rails_monitoring_whitelist: ["{{ gitlab_ip_range }}"]
401+ ` ` `
402+
395403# ### Configure GitLab Registry
396404
397405Enable GitLab container registry :
Original file line number Diff line number Diff line change @@ -95,6 +95,8 @@ gitlab_mattermost_only_context: "false"
9595
9696gitlab_feature_flags : []
9797
98+ gitlab_rails_monitoring_whitelist : ["{{ gitlab_ip_range }}"]
99+
98100# Internal variable to determine whether the configuration object for Gitaly
99101# is already present in gitlab_additional_configurations
100102__gitaly_configuration_exists : false
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ gitlab_rails['redis_sentinels'] = [
2828gitlab_rails['redis_sentinels_password'] = "{{ gitlab_redis_sentinel_password }}"
2929{% endif %}
3030{% endif %}
31- gitlab_rails['monitoring_whitelist'] = ["{{ gitlab_ip_range }}"]
31+ gitlab_rails['monitoring_whitelist'] = ["{{ gitlab_rails_monitoring_whitelist | join('","') }}"]
3232
3333{% if gitlab_use_internal_gitaly %}
3434{% if not __gitaly_configuration_exists %}
You can’t perform that action at this time.
0 commit comments