Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/nix/module-eval
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 7c50568db1 hive telemetry collector: fetch its OIDC secret from the store under the hive's own leaf
The hive collector's `oauth2client` secret came from a `clientSecretFile`
defaulting to authelia's own minted file on the IdP's host, with a
`hive-otel-client-secret` oneshot that only waited up to 120s for that
file to exist; any other hive had to copy the file across by hand.

`swarm-bao-hive-otel-oidc` now logs in with the hive's leaf
(`deploy.bao.clientCertFile`), reads `swarm/hives/<hive>/oidc/client`
(written by the publisher, granted by the hive leaf's
`swarm/hives/<hive>/*` read), writes it root 0400 when it differs, and
restarts the collector when the file is newer than its last start.
Retries every 30s for 24h (`lib/store-retry.nix`), like the matrix and
forge fetches. `clientSecretFile` defaults to that file wherever the hive
leaf is set and stays as an override; an overridden file renders no fetch.

otelcol-contrib 0.151.0's oauth2client re-reads `client_secret_file` on
every token fetch, but the path is `LoadCredential`'s start-time copy, so a
changed secret still needs a restart. `lib/refresh-consumer.nix` gains
`refresh_unit` for a host unit; `refresh_consumer` now calls it with
`--machine`.

nats-authelia's "consumer of the host client-secret dir" case pointed at
the collector's old default; it now reads the publisher's path unit.

Refs #5015
2026-10-10 01:10:31 +02:00
..
agent-forge-bao.nix forge: external forge accounts live in swarm bao; the agent fetches them itself 2026-10-01 18:05:33 +02:00
agent-github-bao.nix github swarm bao: address argus review on #4892 2026-10-02 17:54:45 +02:00
agent-icon.nix nix: split module-eval into per-subsystem checks 2026-09-20 04:25:54 +02:00
agent-matrix.nix nix: comments state current behaviour, not history 2026-10-05 09:58:50 +02:00
agent-memory.nix hive-bash-daemon: keep sibling tasks alive when one is OOM-killed 2026-10-07 18:18:15 +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 hive-agent: the swarm queue connection is required; retry, then exit 2026-10-04 22:24:51 +02:00
agent-runtime.nix agent-modules: hand an api-key agent's subagent daemon the backend file 2026-10-10 01:05:50 +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-controller reads its forge token from the store, not a host file 2026-10-08 13:25:47 +02:00
bao-matrix-reader.nix swarm-nats, matrix: the queue's and matrix-ctl's store identity paths are their own, not the hive's 2026-10-06 12:04:48 +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 swarm-controller reads its forge token from the store, not a host file 2026-10-08 13:25:47 +02:00
forge-placement.nix swarm-bao-forge-publisher starts on the deploy that adds it 2026-10-08 13:59:26 +02:00
grafana.nix nix: comments state current behaviour, not history 2026-10-05 09:58:50 +02:00
hive-otel.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
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-controller reads its forge token from the store, not a host file 2026-10-08 13:25:47 +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 hive status publishing: read the hive's OIDC secret from the store, retry until it is there 2026-10-10 01:05:33 +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 hive-forge: mirror actions/upload-artifact alongside actions/checkout 2026-10-09 10:40:28 +02:00