Skip to content

Commit 4c2072c

Browse files
tobiashusteNormo
andcommitted
Apply suggestions from code review
Co-authored-by: Norman Ziegner <normo157@gmail.com>
1 parent d60127b commit 4c2072c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

roles/gitlab/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,8 @@ gitlab_postgresql_db_password: 'changeme'
397397
Configure the monitoring whitelist for GitLab-Rails:
398398

399399
```yaml
400-
gitlab_rails_monitoring_whitelist: ["{{ gitlab_ip_range }}"]
400+
gitlab_rails_monitoring_whitelist:
401+
- "{{ gitlab_ip_range }}"
401402
```
402403

403404
#### Configure GitLab Registry

roles/gitlab/defaults/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,9 @@ gitlab_mattermost_only_context: "false"
9595

9696
gitlab_feature_flags: []
9797

98-
gitlab_rails_monitoring_whitelist: ["{{ gitlab_ip_range }}"]
99-
98+
# List of IP addresses or IP ranges that are allowed to access monitoring endpoints
99+
gitlab_rails_monitoring_whitelist:
100+
- "{{ gitlab_ip_range }}"
100101
# Internal variable to determine whether the configuration object for Gitaly
101102
# is already present in gitlab_additional_configurations
102103
__gitaly_configuration_exists: false

0 commit comments

Comments
 (0)