atlas
2f05e2db28
nix: re-run the host's store fetches on a ten-minute timer
...
Seven host oneshots fetch a secret from the swarm secret store into a file
their consumer loads at start: swarm-bao-grafana-oidc, swarm-bao-otel-oidc,
swarm-bao-matrix-oidc, swarm-bao-ci-runner, swarm-bao-forge-oidc,
swarm-bao-hive-otel-oidc and swarm-bao-forwarder-oidc. Each was
RemainAfterExit with no timer, so it ran at boot or deploy and never again:
a secret re-minted in the store reached its consumer only through an
operator restarting the fetch.
lib/store-refresh-timer.nix gives each one a timer (OnUnitInactiveSec 10min,
RandomizedDelaySec 1min, the agent's own store re-read interval), and each
drops RemainAfterExit so a timer start is not a no-op. Each script already
writes the file only when secret_differs, and refresh_consumer/refresh_unit
restart the consumer only when the file is newer than its last start, so a
run reading an unchanged value restarts nothing.
Two docs said these units do not run on a timer; credentials.md's
ci-runner row said the runner token is not re-pulled.
Part of #5017 (slice T).
2026-10-13 00:03:20 +02:00
..
agent-forge-bao.nix
agents: swap the agent's bao leaf in with one rename
2026-10-11 10:00:43 +02:00
agent-github-bao.nix
agents: swap the agent's bao leaf in with one rename
2026-10-11 10:00:43 +02:00
agent-icon.nix
nix: split module-eval into per-subsystem checks
2026-09-20 04:25:54 +02:00
agent-matrix.nix
module-eval: accept the agent's live bao pair as a store path
2026-10-11 10:00:43 +02:00
agent-memory.nix
agents: hand over the kept drop-in's cap, warn at boot without one
2026-10-12 10:59:12 +02:00
agent-otel.nix
module-eval: assert the severity table once, not once per tier
2026-09-20 14:23:56 +02:00
agent-plugins.nix
nix: split module-eval into per-subsystem checks
2026-09-20 04:25:54 +02:00
agent-queue-bao.nix
agents: swap the agent's bao leaf in with one rename
2026-10-11 10:00:43 +02:00
agent-runtime.nix
agents: swap the agent's bao leaf in with one rename
2026-10-11 10:00:43 +02:00
agent-user.nix
module-eval: agent-user test asserts the heal_own_dir form
2026-10-09 11:30:30 +02:00
bao-basics.nix
matrix: drop the per-hive appservice and its unused token
2026-10-05 07:48:17 +02:00
bao-controller.nix
swarm-controller reads its forge token from the store, not a host file
2026-10-08 13:25:47 +02:00
bao-grants.nix
swarm-bao-pki: sign every other hive's three store leaves
2026-10-12 21:41:28 +02:00
bao-matrix-reader.nix
nix: the hive's leaf does not read every secret in the store
2026-10-12 01:37:46 +02:00
bao-otel-collector.nix
nix: finish the current-behaviour comment sweep in touched files
2026-10-05 09:58:57 +02:00
core-toggle.nix
nix: re-run the host's store fetches on a ten-minute timer
2026-10-13 00:03:20 +02:00
forge-placement.nix
forge: fetch the OIDC client secret from bao instead of a host-side copy
2026-10-10 14:07:31 +02:00
grafana.nix
grafana: mint the admin password into the store and apply it on every start
2026-10-12 15:16:53 +02:00
hive-otel.nix
module-eval/hive-otel: pin the fetch reviving a start-limited collector
2026-10-10 01:22:32 +02:00
hive-tls.nix
hive-tls: the root fetch presents the hive identity, as on main
2026-10-06 14:54:07 +02:00
journald-severity.nix
module-eval: assert the severity table once, not once per tier
2026-09-20 14:23:56 +02:00
lib.nix
module-eval: set the hive-controller option only in tests that need a hive
2026-10-05 09:58:13 +02:00
matrix-core.nix
module-eval: set the hive-controller option only in tests that need a hive
2026-10-05 09:58:13 +02:00
name-guards.nix
swarm: refuse swarm.hives keys that are not valid hive identifiers
2026-10-12 21:45:50 +02:00
nats-authelia.nix
hive telemetry collector: fetch its OIDC secret from the store under the hive's own leaf
2026-10-10 01:10:31 +02:00
nats-tls.nix
module-eval/nats-tls: evaluate the no-URL leaf fixture with hive-c0re on
2026-10-10 01:05:33 +02:00
secret-publisher.nix
nix: run the review classifier in a container of its own when a host enables it
2026-10-12 13:11:21 +02:00
swarm-otel-core.nix
nix: follow-ups from the service/deploy split
2026-10-05 19:12:46 +02:00
swarm-otel-identity.nix
hive-tls: a gateway host without the services-issuer pair evaluates and goes red at runtime
2026-10-06 14:54:07 +02:00
swarm-services-switch.nix
nix: allSwarmServices turns on the review classifier
2026-10-12 13:11:21 +02:00