mirror of
https://github.com/thegeeklab/prometheus-pve-sd.git
synced 2024-11-15 22:20:39 +00:00
add tokens to config
This commit is contained in:
parent
a6d128d605
commit
27628c5cf0
@ -135,6 +135,18 @@ class Config:
|
||||
"file": True,
|
||||
"type": environs.Env().str
|
||||
},
|
||||
"pve.token_name": {
|
||||
"default": "",
|
||||
"env": "PVE_TOKEN_NAME",
|
||||
"file": True,
|
||||
"type": environs.Env().str
|
||||
},
|
||||
"pve.token_value": {
|
||||
"default": "",
|
||||
"env": "PVE_TOKEN_VALUE",
|
||||
"file": True,
|
||||
"type": environs.Env().str
|
||||
},
|
||||
"pve.auth_timeout": {
|
||||
"default": 5,
|
||||
"env": "PVE_AUTH_TIMEOUT",
|
||||
|
Loading…
Reference in New Issue
Block a user