mirror of https://github.com/prometheus/prometheus
Merge pull request #8338 from prometheus/release-2.24
Merge release back (or forward?) into master.pull/8339/head
commit
997bb7134f
|
@ -213,6 +213,7 @@ func (d *Discovery) refreshOne(ctx context.Context, name string, ch chan<- *targ
|
||||||
target = hostPort(addr.AAAA.String(), d.port)
|
target = hostPort(addr.AAAA.String(), d.port)
|
||||||
case *dns.CNAME:
|
case *dns.CNAME:
|
||||||
// CNAME responses can occur with "Type: A" dns_sd_config requests.
|
// CNAME responses can occur with "Type: A" dns_sd_config requests.
|
||||||
|
continue
|
||||||
default:
|
default:
|
||||||
level.Warn(d.logger).Log("msg", "Invalid record", "record", record)
|
level.Warn(d.logger).Log("msg", "Invalid record", "record", record)
|
||||||
continue
|
continue
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
---
|
||||||
|
title: HTTPS and authentication
|
||||||
|
sort_rank: 7
|
||||||
|
---
|
||||||
|
|
||||||
# HTTPS and authentication
|
# HTTPS and authentication
|
||||||
|
|
||||||
Prometheus supports basic authentication and TLS.
|
Prometheus supports basic authentication and TLS.
|
||||||
|
@ -27,7 +32,8 @@ tls_server_config:
|
||||||
key_file: <filename>
|
key_file: <filename>
|
||||||
|
|
||||||
# Server policy for client authentication. Maps to ClientAuth Policies.
|
# Server policy for client authentication. Maps to ClientAuth Policies.
|
||||||
# For more detail on clientAuth options: [ClientAuthType](https://golang.org/pkg/crypto/tls/#ClientAuthType)
|
# For more detail on clientAuth options:
|
||||||
|
# https://golang.org/pkg/crypto/tls/#ClientAuthType
|
||||||
[ client_auth_type: <string> | default = "NoClientCert" ]
|
[ client_auth_type: <string> | default = "NoClientCert" ]
|
||||||
|
|
||||||
# CA certificate for client certificate authentication to the server.
|
# CA certificate for client certificate authentication to the server.
|
||||||
|
|
Loading…
Reference in New Issue