force each container's unit configs in the checks about it
This commit is contained in:
parent
4cdf807afc
commit
549c198449
6 changed files with 46 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue