mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
fix(monitoring): prometheus ingress urls
This commit is contained in:
parent
276ccc077e
commit
433cc3cf73
1 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (gensokyo-zone) systems;
|
||||
inherit (gensokyo-zone.lib) mkAddress6;
|
||||
inherit (lib.modules) mkDefault;
|
||||
inherit (lib.attrsets) attrValues;
|
||||
inherit (lib.lists) filter concatMap;
|
||||
|
|
@ -21,7 +22,7 @@
|
|||
portName,
|
||||
}: let
|
||||
port = service.ports.${portName};
|
||||
in "${access.getAddressFor system.config.name "lan"}:${toString port.port}";
|
||||
in "${mkAddress6 (access.getAddressFor system.config.name "lan")}:${toString port.port}";
|
||||
mkServiceConfig = system: serviceName: let
|
||||
service = system.config.exports.services.${serviceName};
|
||||
targets = map (portName:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue