diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-06-02 02:25:33 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-06-20 01:44:16 +0200 |
commit | 96232fb34906f9efd98189838141d896668d3dd8 (patch) | |
tree | 99189ec79f80f7817048d1909c3f85e2d80cc297 /roles/monitoring/prometheus/exporter/base/templates | |
parent | prometheus: server CA and certificates (diff) |
prometheus: preliminary tls support for exporter connections
Diffstat (limited to 'roles/monitoring/prometheus/exporter/base/templates')
-rw-r--r-- | roles/monitoring/prometheus/exporter/base/templates/service.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/monitoring/prometheus/exporter/base/templates/service.j2 b/roles/monitoring/prometheus/exporter/base/templates/service.j2 index e2c54d6c..c24baf43 100644 --- a/roles/monitoring/prometheus/exporter/base/templates/service.j2 +++ b/roles/monitoring/prometheus/exporter/base/templates/service.j2 @@ -4,7 +4,7 @@ Description=Prometheus exporter proxy [Service] Restart=always User=prometheus-exporter -ExecStart=/usr/bin/prometheus-exporter-exporter --config.dirs=/etc/prometheus/exporter/enabled --config.file="" --web.listen-address="{{ prometheus_exporter_listen }}" +ExecStart=/usr/bin/prometheus-exporter-exporter -config.dirs=/etc/prometheus/exporter/enabled -config.file="" -web.listen-address="" -web.tls.listen-address="{{ prometheus_exporter_listen }}" -web.tls.cert="/etc/ssl/prometheus/exporter/crt.pem" -web.tls.key="/etc/ssl/prometheus/exporter/key.pem" --web.tls.ca="/etc/ssl/prometheus/ca-crt.pem" -web.tls.verify {# TODO: implement reloading once the exporter_exporter supports this #} # systemd hardening-options |