]> git.openstreetmap.org Git - chef.git/blob - cookbooks/prometheus/templates/default/ssl.yml.erb
split configuration in two, include new templates
[chef.git] / cookbooks / prometheus / templates / default / ssl.yml.erb
1 modules:
2 <% @certificates.values.sort_by { |c| c[:domains].first }.each do |certificate| -%>
3   <%= certificate[:domains].first %>:
4     prober: tcp
5     tls_config:
6       server_name: <%= certificate[:domains].first %>
7 <% end -%>