cluster/services/object-storage: migrate from VEGAS/object-storage, add blackbox check

This commit is contained in:
Max Headroom 2023-06-05 01:26:26 +02:00
parent c4e437578c
commit d6caf48aed
3 changed files with 14 additions and 2 deletions

View file

@ -0,0 +1,13 @@
{ tools, ... }:
{
services.object-storage = {
nodes.host = [ "VEGAS" ];
nixos.host = ./host.nix;
};
monitoring.blackbox.targets.object-storage = {
address = "https://object-storage.${tools.meta.domain}/minio/health/live";
module = "https2xx";
};
}

View file

@ -22,7 +22,7 @@ in
};
age.secrets.minio-root-credentials = {
file = ../../../../secrets/minio-root-credentials.age;
file = ../../../secrets/minio-root-credentials.age;
owner = "root";
group = "root";
mode = "0400";

View file

@ -27,7 +27,6 @@
./services/minecraft
./services/nix/binary-cache.nix
./services/nix/nar-serve.nix
./services/object-storage
./services/reflex
./services/sso
./services/uptime-kuma