mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-24 22:26:29 +09:00
all: regenerate config docs
This commit is contained in:
1 parent
c4b36103a0
commit
0afe30f524
4 files changed
+7
-7
No files matched your search
Generated
+4
-4
@@ -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,
|
||||
|
||||
Generated
+1
-1
@@ -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"
|
||||
|
||||
|
||||
Generated
+1
-1
@@ -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.",
|
||||
|
||||
Generated
+1
-1
@@ -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";
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user