summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-10-27 23:30:04 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-10-27 23:30:04 +0200
commit187894ff0d651f0f9924df9a40bc1085f4172612 (patch)
treeb8493c7f811f01e760b0d7b40c17bcef41017a62 /inventory
parentadd basic auth to prometheus/server (diff)
prometheus add basic auth to alert-manager
Diffstat (limited to 'inventory')
-rw-r--r--inventory/host_vars/ch-mon.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-mon.yml b/inventory/host_vars/ch-mon.yml
index 60361738..743a7136 100644
--- a/inventory/host_vars/ch-mon.yml
+++ b/inventory/host_vars/ch-mon.yml
@@ -64,6 +64,9 @@ prometheus_server_storage:
prometheus_server_alertmanager:
url: "127.0.0.1:9093"
path_prefix: "/alertmanager/"
+ basic_auth:
+ username: server
+ password: "{{ vault_prometheus_alertmanager_auth_user_passwords['server'] }}"
prometheus_server_web_external_url: /prometheus/
@@ -129,6 +132,10 @@ prometheus_alertmanager_smtp:
prometheus_alertmanager_web_route_prefix: /alertmanager/
+prometheus_alertmanager_auth_users:
+ server: "{{ vault_prometheus_alertmanager_auth_user_passwords['server'] }}"
+ admin: "{{ vault_prometheus_alertmanager_auth_user_passwords['admin'] }}"
+
grafana_secret_key: "{{ vault_grafana_secret_key }}"