mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
fix(gatus): permission to ping
This commit is contained in:
parent
e3d22ca33f
commit
bd7c9ee8f3
8 changed files with 66 additions and 7 deletions
|
|
@ -110,7 +110,7 @@
|
|||
[alertingConfig]
|
||||
++ optional status.alert.enable alertingConfigAlerts;
|
||||
config = {
|
||||
name = mkAlmostOptionDefault system.name;
|
||||
name = mkAlmostOptionDefault system.exports.status.displayName;
|
||||
# XXX: it can't seem to ping ipv6 for some reason..? :<
|
||||
enabled = mkIf addrIs6 (mkAlmostOptionDefault false);
|
||||
client.network = mkIf addrIs6 (mkAlmostOptionDefault "ip6");
|
||||
|
|
@ -177,6 +177,11 @@ in {
|
|||
user = mkDefault "gatus";
|
||||
environmentFile = config.sops.secrets.gatus_environment_file.path;
|
||||
|
||||
hardening = {
|
||||
enable = mkDefault true;
|
||||
icmp.enable = mkDefault true;
|
||||
};
|
||||
|
||||
# Endpoint configuration
|
||||
endpoints = listToAttrs (concatMap mapSystem statusSystems);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue