nix: finish the current-behaviour comment sweep in touched files
Rewrite the remaining narration in files the previous commit touched: "moved"/"sat"/"was REMOVED"/"old default" comments in swarm-bao, swarm-otel, glue-bao-tls, nats-authelia, swarm-controller, swarm-ui, swarm-otel-service, swarm-authelia-service, the deploy.nix rename table, hive-ci, hive-forge/service, hive-tls, hyperhive, swarm-nats, swarm.nix and a few module-eval fixtures, so each says where a thing is or why it is so now. Revert the comment edits inside shell script strings in hive-tls, swarm-nats and the forge token mint to their previous text, so those generated units are unchanged. The only unit still changing is swarm-bao-pki (two comment lines in its script). Refs #3902
This commit is contained in:
parent
1c90619fbb
commit
e990e9a0be
21 changed files with 102 additions and 103 deletions
|
|
@ -334,7 +334,7 @@ let
|
|||
&& (baoForwarder baoWithHiveOtel).settings.exporters.otlphttp.endpoint == route;
|
||||
}
|
||||
{
|
||||
# 🎯 The credential half of this move, and the arm that says the hop
|
||||
# 🎯 The credential half of the hop, and the arm that says it
|
||||
# DELIVERS rather than merely resolves. The receiver at the far end
|
||||
# takes an OIDC token and nothing else, so an exporter with no
|
||||
# authenticator is a forwarder that retries into 401s while every other
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ let
|
|||
ok = !(equalityGuardFired hiveNamesAllLegal) && !(fragmentGuardFired hiveNamesAllLegal);
|
||||
}
|
||||
{
|
||||
# The substring guard came along in the move and has to still work.
|
||||
# The substring guard has to work with the collector off too.
|
||||
# `h1-agent` mints exactly the client id hive `h1`'s agents present.
|
||||
name = "a hive name containing a composed-identifier word is refused, with the collector off";
|
||||
ok = fragmentGuardFired hiveNameWithComposedWord;
|
||||
|
|
|
|||
|
|
@ -268,9 +268,9 @@ let
|
|||
}
|
||||
{
|
||||
# Not a rename test. `hostClientSecretDir` is `readOnly`, so the fixture
|
||||
# cannot define it; what can break is a reader left pointing at the
|
||||
# namespace it moved out of. Several modules read this through an
|
||||
# `autheliaCfg` alias, where a path-shaped grep does not see it.
|
||||
# cannot define it; what can break is a reader left pointing at
|
||||
# `swarm.authelia` instead of `deploy.authelia`. Several modules read this
|
||||
# through an `autheliaCfg` alias, where a path-shaped grep does not see it.
|
||||
name = "a consumer of authelia's host client-secret dir renders it from the deploy namespace";
|
||||
ok = lib.hasPrefix "/var/lib/nixos-containers/swarm-authelia/var/lib/authelia-swarm/oidc-clients/" autheliaOldPath.services.hyperhive.otel.clientSecretFile;
|
||||
}
|
||||
|
|
@ -332,10 +332,11 @@ let
|
|||
}
|
||||
{
|
||||
# …and the name it resolves through is a DOMAIN, not a host this config
|
||||
# picked. `127.0.0.1` is what the old default rendered on the IdP host,
|
||||
# the bridge address is what the queue's defaults still render, and
|
||||
# neither is an address a client may be handed: the domain is allowed to
|
||||
# resolve differently in different places, which is the whole property.
|
||||
# picked. `127.0.0.1` is what a co-location-derived default renders on
|
||||
# the IdP host, the bridge address is what the queue's defaults render,
|
||||
# and neither is an address a client may be handed: the domain is
|
||||
# allowed to resolve differently in different places, which is the
|
||||
# whole property.
|
||||
name = "the swarm IdP address names no host address";
|
||||
ok =
|
||||
let
|
||||
|
|
|
|||
Loading…
Reference in a new issue