nix: comments state current behaviour, not history
Rewrite comments and option descriptions under nix/ that narrate how the
code got here ("used to", "new name", "sat at the TOP", "no longer",
renamed/moved narration, attributions) to say what the code does now and
why. Comments and description strings only; no logic changes.
Files in open PR #4970's diff are left alone. Refs #3902
This commit is contained in:
parent
ea63b0d150
commit
1c90619fbb
1 changed files with 331 additions and 411 deletions
|
|
@ -36,9 +36,7 @@ let
|
|||
# deployment this unit exists for: authelia is the one host the store is
|
||||
# guaranteed not to share once either has a machine of its own.
|
||||
#
|
||||
# ⚠️ `enable` is deliberately NOT set here. It used to be, with a comment
|
||||
# saying the default asked whether both ran on this host — which documented
|
||||
# the co-location bug instead of catching it. Leaving it unset is what makes
|
||||
# ⚠️ `enable` is deliberately NOT set here: leaving it unset is what makes
|
||||
# this fixture exercise the default rather than mask it.
|
||||
secretPublisherRemote = hive {
|
||||
deploy.authelia.enable = true;
|
||||
|
|
@ -125,9 +123,9 @@ let
|
|||
&& !(lib.elem "swarm-grafana" (clients grafanaRemoteAuthelia));
|
||||
}
|
||||
{
|
||||
# The collector's half of the same defect and the same fix: this used to
|
||||
# be gated on `deploy.swarm-otel.enable`, so a split deployment
|
||||
# registered the client nowhere and authelia minted nothing to publish.
|
||||
# The collector's half of the same property: the client is not gated on
|
||||
# `deploy.swarm-otel.enable`, which would let a split deployment register
|
||||
# it nowhere, so authelia would mint nothing to publish.
|
||||
name = "the swarm's collector client is registered wherever authelia runs";
|
||||
ok =
|
||||
let
|
||||
|
|
|
|||
Loading…
Reference in a new issue