summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-08-18 00:21:07 +0300
committerMaxim Devaev <[email protected]>2023-08-18 00:21:07 +0300
commit61ce81ab6401046a02aa3eb048af6deed004f840 (patch)
tree35cc2e044e064318269152426f457cc98b938a69 /kvmd/apps/__init__.py
parent32560563dc41f19633944e18cf16fef05b88c407 (diff)
pikvm/pikvm#1069: added option to disable auth on prometheus api
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index 4b840e70..4bd8a60d 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -397,6 +397,12 @@ def _get_config_scheme() -> dict:
"enabled": Option(True, type=valid_bool),
},
+ "prometheus": {
+ "auth": {
+ "enabled": Option(True, type=valid_bool),
+ },
+ },
+
"hid": {
"type": Option("", type=valid_stripped_string_not_empty),