Docs: normalize bearer_token_file type (#7408)

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
Julien Pivotto 2020-06-16 23:09:05 +02:00 committed by GitHub
parent 2dc17979e2
commit 7b24bb3116
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,7 +173,7 @@ basic_auth:
# Sets the `Authorization` header on every scrape request with the bearer token
# read from the configured file. It is mutually exclusive with `bearer_token`.
[ bearer_token_file: /path/to/bearer/token/file ]
[ bearer_token_file: <filename> ]
# Configures the scrape request's TLS settings.
tls_config:
@ -873,7 +873,7 @@ namespaces:
# if you just want to monitor small subset of pods in large cluster it's recommended to use selectors.
# Decision, if selectors should be used or not depends on the particular situation.
[ selectors:
[ - role: <role>
[ - role: <role>
[ label: <string> ]
[ field: <string> ] ]]
```
@ -942,7 +942,7 @@ basic_auth:
# Sets the `Authorization` header on every request with the bearer token
# read from the configured file. It is mutually exclusive with `bearer_token` and other authentication mechanisms.
# NOTE: The current version of DC/OS marathon (v1.11.0) does not support standard Bearer token authentication. Use `auth_token_file` instead.
[ bearer_token_file: /path/to/bearer/token/file ]
[ bearer_token_file: <filename> ]
# TLS configuration for connecting to marathon servers
tls_config:
@ -1237,7 +1237,7 @@ basic_auth:
# Sets the `Authorization` header on every request with the bearer token
# read from the configured file. It is mutually exclusive with `bearer_token`.
[ bearer_token_file: /path/to/bearer/token/file ]
[ bearer_token_file: <filename> ]
# Configures the scrape request's TLS settings.
tls_config:
@ -1338,7 +1338,7 @@ basic_auth:
# Sets the `Authorization` header on every remote write request with the bearer token
# read from the configured file. It is mutually exclusive with `bearer_token`.
[ bearer_token_file: /path/to/bearer/token/file ]
[ bearer_token_file: <filename> ]
# Configures the remote write request's TLS settings.
tls_config:
@ -1410,7 +1410,7 @@ basic_auth:
# Sets the `Authorization` header on every remote read request with the bearer token
# read from the configured file. It is mutually exclusive with `bearer_token`.
[ bearer_token_file: /path/to/bearer/token/file ]
[ bearer_token_file: <filename> ]
# Configures the remote read request's TLS settings.
tls_config: