Skip to content
Snippets Groups Projects
Commit 8aff75b7 authored by Florian Sesser's avatar Florian Sesser
Browse files

Merge branch '207.reuse-vpn-server-ip-configuration' into...

Merge branch '207.reuse-vpn-server-ip-configuration' into '207.payment-server-exception-reporting-update'

Read the VPN server IP address from the monitoring node config

See merge request !257
parents c0b39e95 0eee7f76
No related branches found
No related tags found
3 merge requests!264merge develop into production,!257Read the VPN server IP address from the monitoring node config,!251Loki/Promtail: Towards centralized logging
Checking pipeline status
# This module contains settings and configuration that apply to all nodes in a grid.
{ lib, config, ...}:
{ lib, config, nodes, ...}:
{
options.grid = {
publicKeyPath = lib.mkOption {
......@@ -59,7 +59,9 @@
networking.hosts = {
# To stream logs to the monitoring host, all nodes need to know its address
"172.23.23.1" = [ "monitoring" "monitoring.monitoringvpn" ];
${nodes.monitoring.config.services.private-storage.monitoring.vpn.server.ip} = [
"monitoring" "monitoring.monitoringvpn"
];
};
services.private-storage.monitoring.exporters.promtail.enable = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment