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
3907068257
commit
ff356662da
4 files changed
+8
-8
No files matched your search
Generated
+5
-5
@@ -78,11 +78,11 @@ log:
|
||||
|
||||
# Covers node key expiry, ephemeral nodes and subnet routes.
|
||||
node:
|
||||
# The key expiry given to a non-tagged node that registers without one,
|
||||
# whatever the method (auth key, CLI, web, OIDC). An expiry the client asks
|
||||
# for, `oidc.use_expiry_from_token` and an admin's `headscale nodes expire`
|
||||
# still apply. Tagged nodes never get this default. Zero or negative disables
|
||||
# the default.
|
||||
# The key expiry given to a node that registers without one, whatever the
|
||||
# method (auth key, CLI, web, OIDC). An expiry the client asks for,
|
||||
# `oidc.use_expiry_from_token` and an admin's `headscale nodes expire` still
|
||||
# apply. A tagged node registers with key expiry turned off and keeps this
|
||||
# time for when it is turned on. Zero or negative disables the default.
|
||||
expiry: 0s
|
||||
# Covers ephemeral nodes, which register with an ephemeral auth key and are
|
||||
# deleted once they have been offline for `node.ephemeral.inactivity_timeout`.
|
||||
|
||||
Generated
+1
-1
@@ -584,7 +584,7 @@ Covers node key expiry, ephemeral nodes and subnet routes.
|
||||
- **Default:** `0s`
|
||||
- **Env:** `HEADSCALE_NODE_EXPIRY`
|
||||
|
||||
The key expiry given to a non-tagged node that registers without one, whatever the method (auth key, CLI, web, OIDC). An expiry the client asks for, [`oidc.use_expiry_from_token`](#oidc.use_expiry_from_token) and an admin's `headscale nodes expire` still apply. Tagged nodes never get this default. Zero or negative disables the default.
|
||||
The key expiry given to a node that registers without one, whatever the method (auth key, CLI, web, OIDC). An expiry the client asks for, [`oidc.use_expiry_from_token`](#oidc.use_expiry_from_token) and an admin's `headscale nodes expire` still apply. A tagged node registers with key expiry turned off and keeps this time for when it is turned on. Zero or negative disables the default.
|
||||
|
||||
=== "YAML"
|
||||
|
||||
|
||||
Generated
+1
-1
@@ -84,7 +84,7 @@ var configFieldDocs = map[string]string{
|
||||
"Nameservers.Global": "The nameservers for names `dns.nameservers.split` does not cover: IP addresses, or DNS-over-HTTPS URLs such as `https://dns.nextdns.io/<id>`. Empty by default, so clients keep their own DNS: headscale points them at no resolver you did not list.",
|
||||
"Nameservers.Split": "Maps a domain to the nameservers that answer for it (split DNS). Domains are lowercased on load; two that differ only in case are an error.",
|
||||
"NodeConfig.Ephemeral": "Covers ephemeral nodes, which register with an ephemeral auth key and are deleted once they have been offline for `node.ephemeral.inactivity_timeout`.",
|
||||
"NodeConfig.Expiry": "The key expiry given to a non-tagged node that registers without one, whatever the method (auth key, CLI, web, OIDC). An expiry the client asks for, `oidc.use_expiry_from_token` and an admin's `headscale nodes expire` still apply. Tagged nodes never get this default. Zero or negative disables the default.",
|
||||
"NodeConfig.Expiry": "The key expiry given to a node that registers without one, whatever the method (auth key, CLI, web, OIDC). An expiry the client asks for, `oidc.use_expiry_from_token` and an admin's `headscale nodes expire` still apply. A tagged node registers with key expiry turned off and keeps this time for when it is turned on. Zero or negative disables the default.",
|
||||
"NodeConfig.Routes": "Covers the routes nodes advertise. See [Routes](https://headscale.net/stable/ref/routes/).",
|
||||
"NoiseConfig.PrivateKeyPath": "The file holding the Noise private key, which encrypts traffic between headscale and clients, relative to the configuration file. A missing file is created with a new key.",
|
||||
"OIDCConfig.AllowedDomains": "Admits only users whose email domain is listed. Empty admits any domain.",
|
||||
|
||||
Generated
+1
-1
@@ -212,7 +212,7 @@ in
|
||||
type = t.duration;
|
||||
default = "0s";
|
||||
description = ''
|
||||
The key expiry given to a non-tagged node that registers without one, whatever the method (auth key, CLI, web, OIDC). An expiry the client asks for, `oidc.use_expiry_from_token` and an admin's `headscale nodes expire` still apply. Tagged nodes never get this default. Zero or negative disables the default.
|
||||
The key expiry given to a node that registers without one, whatever the method (auth key, CLI, web, OIDC). An expiry the client asks for, `oidc.use_expiry_from_token` and an admin's `headscale nodes expire` still apply. A tagged node registers with key expiry turned off and keeps this time for when it is turned on. Zero or negative disables the default.
|
||||
'';
|
||||
example = "2160h";
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user