Skip to content
Snippets Groups Projects
Commit 4d36af4db47c authored by Balasankar "Balu" C's avatar Balasankar "Balu" C
Browse files

Move prometheus_monitoring settings to underscored form


Signed-off-by: default avatarBalasankar "Balu" C <balasankar@gitlab.com>
parent ea348d6d7608
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,7 @@
default['monitoring']['gitlab_exporter']['prometheus_scrape_tls_skip_verification'] = false
# To completely disable prometheus, and all of it's exporters, set to false
default['gitlab']['prometheus-monitoring']['enable'] = true
default['gitlab']['prometheus_monitoring']['enable'] = true
####
# Grafana
......
......@@ -56,6 +56,7 @@
manage_accounts
manage_storage_directories
omnibus_gitconfig
prometheus_monitoring
].freeze
def self.extended(base)
......
......@@ -52,6 +52,7 @@
%w[manage-accounts manage_accounts],
%w[manage-storage-directories manage_storage_directories],
%w[omnibus-gitconfig omnibus_gitconfig],
%w[prometheus-monitoring prometheus_monitoring],
].each do |input, output|
expect(subject.sanitized_key(input)).to eq(output)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment