module-eval, credentials.md: count the Grafana controller-token unit among the store's readers
swarm-bao-grafana-controller-token logs in to the store with Grafana's leaf, like its three Grafana siblings, and glue-bao-readers-store-order.nix already orders it after the store's container and PKI unit. The services-switch case that pins that ordering did not list it, so dropping it from the glue would have passed. It is now in the roster, and the count of readers rendered off the store's host goes from 7 to 8: the unit exists wherever Grafana does. credentials.md gets the row for its store path, beside the controller's forge token.
This commit is contained in:
parent
7d09776742
commit
3b4f5d60ff
2 changed files with 3 additions and 1 deletions
|
|
@ -777,6 +777,7 @@ let
|
|||
"swarm-bao-grafana-oidc"
|
||||
"swarm-bao-grafana-admin"
|
||||
"swarm-bao-grafana-metrics-bearer"
|
||||
"swarm-bao-grafana-controller-token"
|
||||
"swarm-bao-nats-callout-xkey"
|
||||
"swarm-bao-ci-runner"
|
||||
"swarm-bao-otel-oidc"
|
||||
|
|
@ -799,7 +800,7 @@ let
|
|||
!(lib.any (n: lib.elem n (s.after ++ s.wants ++ s.requires)) storeUnits);
|
||||
in
|
||||
lib.all waits readers
|
||||
&& lib.length readersElsewhere == 7
|
||||
&& lib.length readersElsewhere == 8
|
||||
&& lib.all namesNoStoreUnit readersElsewhere
|
||||
&& !(lib.any (u: storeOnlyNoHive.systemd.services ? ${u}) readers);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue