Watch
0
0
Fork
You've already forked hyperhive
0

victorialogs and victoriametrics: own the package for each auth responder they run

This commit is contained in:
atlas 2026-10-17 15:11:02 +02:00
commit 6f4b3562b7
6 changed files with 73 additions and 13 deletions

View file

@ -31,6 +31,10 @@ let
agent
agentWith
;
# The four auth responder packages pinned to four distinct derivations, so
# a unit's ExecStart names which option it read. Nothing else reads them.
marker = name: pkgs.runCommand "auth-marker-${name}" { } "mkdir $out";
in
{
agentBare = agent { };
@ -41,7 +45,13 @@ in
bareWithController = hiveWithController { };
allLocal = hiveWithController { deploy.singleHostSwarm = true; };
allLocal = hiveWithController {
deploy.singleHostSwarm = true;
deploy.victorialogs.authPackage = marker "logs";
deploy.victorialogs.grafanaAuthPackage = marker "logs-grafana";
deploy.victoriametrics.authPackage = marker "metrics";
deploy.victoriametrics.agentAuthPackage = marker "metrics-agent";
};
autheliaOnly = hive { deploy.authelia.enable = true; };