Merge pull request #154054 from SuperSandro2000/prometheus-bearer-token
This commit is contained in:
commit
8aeafc25c9
|
@ -252,8 +252,8 @@ let
|
||||||
promTypes.scrape_config = types.submodule {
|
promTypes.scrape_config = types.submodule {
|
||||||
options = {
|
options = {
|
||||||
authorization = mkOption {
|
authorization = mkOption {
|
||||||
type = types.attrs;
|
type = types.nullOr types.attrs;
|
||||||
default = {};
|
default = null;
|
||||||
description = ''
|
description = ''
|
||||||
Sets the `Authorization` header on every scrape request with the configured credentials.
|
Sets the `Authorization` header on every scrape request with the configured credentials.
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue