Skip to content
Snippets Groups Projects
Commit c70956c67540 authored by Stan Hu's avatar Stan Hu
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 fffd19eb6adf
No related branches found
No related tags found
1 merge request!171Merge upstream Omnibus GitLab into Omnibus Heptapod
......@@ -363,6 +363,7 @@
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
......
......@@ -70,6 +70,7 @@
owner prometheus_user
mode '0644'
notifies :restart, 'runit_service[alertmanager]'
sensitive true
end
runtime_flags = PrometheusHelper.new(node).kingpin_flags('alertmanager')
......
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