Skip to content
Snippets Groups Projects
Commit 7c7ce5db authored by Stan Hu's avatar Stan Hu Committed by Balasankar C
Browse files

Mark SMTP settings as sensitive

This avoids leaking SMTP credentials during `gitlab-ctl reconfigure`.

Relates to https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8867

Changelog: fixed
parent 555a0016
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -363,6 +363,7 @@ templatesymlink "Create a smtp_settings.rb and create a symlink to Rails root" d
dependent_services.each { |svc| notifies :restart, svc }
 
action :delete unless node['gitlab']['gitlab_rails']['smtp_enable']
sensitive true
end
 
templatesymlink "Create a gitlab.yml and create a symlink to Rails root" do
Loading
Loading
Loading
Loading
@@ -70,6 +70,7 @@ file 'Alertmanager config' do
owner prometheus_user
mode '0644'
notifies :restart, 'runit_service[alertmanager]'
sensitive true
end
 
runtime_flags = PrometheusHelper.new(node).kingpin_flags('alertmanager')
Loading
Loading
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