swarm: drop the -agent client suffix refusal from authelia and the queue responder
authelia.agentClientSuffix is removed (tombstoned) and the responder takes no --agent-client-suffix: hive-<name>-agent is parsed as hive <name>-agent like any other id. The reserved word agent still keeps a hive from being named *-agent.
This commit is contained in:
parent
6bcffb0ebb
commit
e01770c056
12 changed files with 33 additions and 233 deletions
|
|
@ -65,10 +65,7 @@ pub fn hive_object_name(hive: &str) -> Result<String, Error> {
|
|||
/// `hive-<hive>`, so a collision needs a hive named `agent-<agent>` — and
|
||||
/// `nix/reserved-hive-fragments.nix` forbids the substring `agent` in any hive
|
||||
/// name (and `hive` too), applied to every entry of the swarm directory in
|
||||
/// `swarm.nix`. That guard also keeps a hive's client id clear of the
|
||||
/// `hive-<name>-agent` form the queue refuses; this is a second identifier
|
||||
/// family leaning on it, which is why
|
||||
/// the fragment list is what to read before renaming either.
|
||||
/// `swarm.nix`. The fragment list is what to read before renaming either.
|
||||
///
|
||||
/// Host principals' **common names** are operator-set options
|
||||
/// (`deploy.bao.controllerCommonName`, `secretPublisherCommonName`, …) that
|
||||
|
|
|
|||
Loading…
Reference in a new issue