victorialogs and victoriametrics: own the package for each auth responder they run
This commit is contained in:
parent
2507f4f713
commit
6f4b3562b7
6 changed files with 73 additions and 13 deletions
|
|
@ -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; };
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue