From 0afe30f5248a0989827ef4cfe5b897d1671609f3 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Tue, 17 Nov 2026 11:41:41 +0000 Subject: [PATCH] all: regenerate config docs --- docs/ref/config-example.yaml | 8 ++++---- docs/ref/configuration-options.md | 2 +- hscontrol/types/config_docs_generated.go | 2 +- nix/options.generated.nix | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/ref/config-example.yaml b/docs/ref/config-example.yaml index 21e90715e..f1772d431 100644 --- a/docs/ref/config-example.yaml +++ b/docs/ref/config-example.yaml @@ -109,10 +109,10 @@ node: # Covers the cleanup of revoked pre-auth keys. See [Pre authenticated # key](https://headscale.net/stable/ref/registration/#pre-authenticated-key). preauth_keys: - # How long a soft-revoked pre-auth key (revoked via the v2 API's DELETE) is - # kept retrievable before the background collector hard-deletes it. Keys still - # backing a node are kept until the node is deleted. A zero or negative - # duration disables the collector. + # How long a soft-revoked pre-auth key or OAuth client (revoked via the v2 + # API's DELETE) is kept retrievable before the background collector + # hard-deletes it. Keys still backing a node are kept until the node is + # deleted. A zero or negative duration disables the collector. revoked_retention: 168h # The DERP map: the relay servers clients use when they cannot connect directly, diff --git a/docs/ref/configuration-options.md b/docs/ref/configuration-options.md index 1a866ad3a..5c46a706b 100644 --- a/docs/ref/configuration-options.md +++ b/docs/ref/configuration-options.md @@ -752,7 +752,7 @@ Covers the cleanup of revoked pre-auth keys. See [Pre authenticated key](registr - **Default:** `168h` - **Env:** `HEADSCALE_PREAUTH_KEYS_REVOKED_RETENTION` -How long a soft-revoked pre-auth key (revoked via the v2 API's DELETE) is kept retrievable before the background collector hard-deletes it. Keys still backing a node are kept until the node is deleted. A zero or negative duration disables the collector. +How long a soft-revoked pre-auth key or OAuth client (revoked via the v2 API's DELETE) is kept retrievable before the background collector hard-deletes it. Keys still backing a node are kept until the node is deleted. A zero or negative duration disables the collector. === "YAML" diff --git a/hscontrol/types/config_docs_generated.go b/hscontrol/types/config_docs_generated.go index edd8eb0d9..4ed236427 100644 --- a/hscontrol/types/config_docs_generated.go +++ b/hscontrol/types/config_docs_generated.go @@ -112,7 +112,7 @@ var configFieldDocs = map[string]string{ "PostgresConfig.Port": "The server's port or, with a Unix socket directory in `database.postgres.host`, the port in the socket's file name. Zero uses the driver's default.", "PostgresConfig.Ssl": "The TLS mode: `true` keeps the driver's default `sslmode`, `false` disables TLS, any other value is passed as `sslmode` (`require`, `verify-full`, ...).", "PostgresConfig.User": "The user to connect as.", - "PreAuthKeysConfig.RevokedRetention": "How long a soft-revoked pre-auth key (revoked via the v2 API's DELETE) is kept retrievable before the background collector hard-deletes it. Keys still backing a node are kept until the node is deleted. A zero or negative duration disables the collector.", + "PreAuthKeysConfig.RevokedRetention": "How long a soft-revoked pre-auth key or OAuth client (revoked via the v2 API's DELETE) is kept retrievable before the background collector hard-deletes it. Keys still backing a node are kept until the node is deleted. A zero or negative duration disables the collector.", "PrefixesConfig.Allocation": "How a new node's addresses are picked.", "PrefixesConfig.V4": "The IPv4 range, e.g. `100.64.0.0/10`. Empty gives nodes no IPv4 address.", "PrefixesConfig.V6": "The IPv6 range, e.g. `fd7a:115c:a1e0::/48`. Empty gives nodes no IPv6 address.", diff --git a/nix/options.generated.nix b/nix/options.generated.nix index 2e243e2d9..e9d7ea094 100644 --- a/nix/options.generated.nix +++ b/nix/options.generated.nix @@ -252,7 +252,7 @@ in type = t.duration; default = "168h"; description = '' - How long a soft-revoked pre-auth key (revoked via the v2 API's DELETE) is kept retrievable before the background collector hard-deletes it. Keys still backing a node are kept until the node is deleted. A zero or negative duration disables the collector. + How long a soft-revoked pre-auth key or OAuth client (revoked via the v2 API's DELETE) is kept retrievable before the background collector hard-deletes it. Keys still backing a node are kept until the node is deleted. A zero or negative duration disables the collector. ''; example = "720h"; };