snmp_exporter: Don't hardcode prometheus servers

This commit is contained in:
Timo Makinen 2024-03-20 20:47:41 +00:00
parent 7f5a66e6c8
commit 122e27518b

View file

@ -5,8 +5,7 @@ tls_server_config:
client_ca_file: {{ tls_certs }}/ca.crt
client_auth_type: RequireAndVerifyClientCert
client_allowed_sans:
- prometheus01.home.foo.sh
- prometheus02.home.foo.sh
- prometheus03.home.foo.sh
- prometheus04.home.foo.sh
{% for host in groups['prometheus'] %}
- {{ host }}
{% endfor %}
min_version: TLS13