Add config module
The config module supports adding configuration to the exporter via a config file. This supports adding authentication details in a config file so that /probe requests can specify authentication for endpoints Signed-off-by: Joe Adams <github@joeadams.io>
This commit is contained in:
7
config/testdata/config-bad-auth-module.yaml
vendored
Normal file
7
config/testdata/config-bad-auth-module.yaml
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
auth_modules:
|
||||
foo:
|
||||
pretendauth:
|
||||
username: test
|
||||
password: pass
|
||||
options:
|
||||
extra: "1"
|
||||
Reference in New Issue
Block a user