mysqld_exporter: Don't hardcode prometheus servers
This commit is contained in:
parent
122e27518b
commit
0618cde4d1
1 changed files with 3 additions and 4 deletions
|
@ -4,8 +4,7 @@ tls_server_config:
|
||||||
client_ca_file: {{ tls_certs }}/ca.crt
|
client_ca_file: {{ tls_certs }}/ca.crt
|
||||||
client_auth_type: RequireAndVerifyClientCert
|
client_auth_type: RequireAndVerifyClientCert
|
||||||
client_allowed_sans:
|
client_allowed_sans:
|
||||||
- prometheus01.home.foo.sh
|
{% for host in groups['prometheus'] %}
|
||||||
- prometheus02.home.foo.sh
|
- {{ host }}
|
||||||
- prometheus03.home.foo.sh
|
{% endfor %}
|
||||||
- prometheus04.home.foo.sh
|
|
||||||
min_version: TLS13
|
min_version: TLS13
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue