summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-11-20 01:14:54 +0100
committerlassulus <lassulus@lassul.us>2018-11-20 01:14:54 +0100
commit46e00f3c28fe983516f29192939b98b884311885 (patch)
tree2042f893a6f41b487cb11538ed435a5dee2b82ba
parent0646503bfbad54a61315da7d77679722d90e79d8 (diff)
l prometheus: enable anonymous grafana login
-rw-r--r--lass/2configs/monitoring/prometheus-server.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/lass/2configs/monitoring/prometheus-server.nix b/lass/2configs/monitoring/prometheus-server.nix
index aef671636..b7083c776 100644
--- a/lass/2configs/monitoring/prometheus-server.nix
+++ b/lass/2configs/monitoring/prometheus-server.nix
@@ -177,7 +177,8 @@
addr = "0.0.0.0";
domain = "grafana.example.com";
rootUrl = "https://grafana.example.com/";
- security = import <secrets/grafana_security.nix>; # { AdminUser = ""; adminPassword = ""}
+ auth.anonymous.enable = true;
+ auth.anonymous.org_role = "Admin";
};
};
services.logstash = {