Watch
0
0
Fork
You've already forked hyperhive
0

force each container's unit configs in the checks about it

This commit is contained in:
atlas 2026-10-25 20:48:42 +01:00 • committed by mara
commit 549c198449
6 changed files with 46 additions and 16 deletions

View file

@ -20,6 +20,7 @@ let
})
hive
runGroup
forceServiceConfigs
;
# Store and controller on one machine, with a CN no default could supply.
@ -109,6 +110,12 @@ let
a: !a.assertion && lib.hasInfix "swarm-controller.baoClientCertFile and" a.message
) m.assertions;
cases = [
{
# Every unit in the container merges without a priority collision, not
# only the keys the cases here read.
name = "the store's container units merge without a priority collision beside the controller";
ok = forceServiceConfigs baoControllerHere.containers.swarm-bao.config;
}
{
# The queue client secret lives only in the store, so a controller that
# cannot log in there cannot reach the queue. Refused at eval rather than