refactor: replace deprecated no-op options with mkRemovedOptionModule
This commit is contained in:
parent
43bbd64f82
commit
7ad2bb9211
8 changed files with 85 additions and 189 deletions
|
|
@ -22,19 +22,17 @@ in
|
|||
{
|
||||
# Host-side TLS trust root for the self-signed gateway mode.
|
||||
#
|
||||
# `gateway.selfSignedTls` historically generated a *bare* self-signed
|
||||
# leaf inside the gateway container at first boot. A bare leaf is its
|
||||
# own trust anchor, so every regeneration is a new anchor and every
|
||||
# consumer (agents, federation peers) would have to re-trust on each
|
||||
# rotation — and a runtime-generated, in-container cert can't be wired
|
||||
# into an agent's build-time trust store at all.
|
||||
# A bare self-signed leaf would be its own trust anchor, so every
|
||||
# regeneration would be a new anchor and every consumer (agents,
|
||||
# federation peers) would have to re-trust on each rotation — and a
|
||||
# runtime-generated, in-container cert can't be wired into an agent's
|
||||
# build-time trust store at all.
|
||||
#
|
||||
# This module moves the anchor to a long-lived **hive CA** held on the
|
||||
# host. The gateway serves a **leaf** signed by that CA (via the
|
||||
# existing `tls.certDir` bind-mount path); agents and federation peers
|
||||
# trust the *CA* once, and leaf rotation never re-breaks them. See
|
||||
# `docs/gateway.md` ("Self-signed TLS") and issue-tracker discussion of
|
||||
# agent web-UI reachability.
|
||||
# So the anchor is a long-lived **hive CA** held on the host. The
|
||||
# gateway serves a **leaf** signed by that CA (via the `tls.certDir`
|
||||
# bind-mount path); agents and federation peers trust the *CA* once,
|
||||
# and leaf rotation never re-breaks them. See `docs/gateway.md`
|
||||
# ("Self-signed TLS").
|
||||
|
||||
options.services.hyperhive.tls = {
|
||||
stateDir = lib.mkOption {
|
||||
|
|
|
|||
Loading…
Reference in a new issue