nix: state the swarm requirement without a no-fallback clause
This commit is contained in:
parent
82463388c5
commit
c8ff9a1943
2 changed files with 6 additions and 6 deletions
|
|
@ -198,8 +198,8 @@ in
|
||||||
hyperhive requires services.hyperhive.swarm.domain to be set
|
hyperhive requires services.hyperhive.swarm.domain to be set
|
||||||
on every host, to the same value on every host of the swarm —
|
on every host, to the same value on every host of the swarm —
|
||||||
the DNS domain of the swarm, of which each hive occupies one
|
the DNS domain of the swarm, of which each hive occupies one
|
||||||
sub-domain. There is no fallback: a guessed value would be a
|
sub-domain. A guessed value would be a wrong hostname that
|
||||||
wrong hostname that evaluates cleanly and deploys. Set it
|
evaluates cleanly and deploys. Set it
|
||||||
(`services.hyperhive.swarm.domain = "example.com";`) — with
|
(`services.hyperhive.swarm.domain = "example.com";`) — with
|
||||||
`hiveName` it also derives `services.hyperhive.domain` for you.
|
`hiveName` it also derives `services.hyperhive.domain` for you.
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
|
|
@ -119,10 +119,10 @@ in
|
||||||
|
|
||||||
**Required** on every host that imports this module, with the
|
**Required** on every host that imports this module, with the
|
||||||
same value on every host of the swarm, and deliberately not
|
same value on every host of the swarm, and deliberately not
|
||||||
defaulted: there is no fallback worth having. A guessed
|
defaulted. A guessed swarm domain is a wrong hostname that
|
||||||
swarm domain is a wrong hostname that evaluates cleanly and
|
evaluates cleanly and deploys, which is worse than an eval
|
||||||
deploys, which is worse than an eval failure telling an
|
failure telling an operator to write down the one address their
|
||||||
operator to write down the one address their swarm answers to.
|
swarm answers to.
|
||||||
Upgrading past this costs one line, once.
|
Upgrading past this costs one line, once.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue