ipn/ipnlocal, tailcfg: add disable-web-client node attribute (#11418)

Add a disable-web-client node attribute and add handling for disabling
the web client when this node attribute is set.

Updates https://github.com/tailscale/tailscale/issues/10261

Signed-off-by: Mario Minardi <mario@tailscale.com>
This commit is contained in:
Mario Minardi
2024-03-18 10:32:33 -06:00
committed by GitHub
parent da7c3d1753
commit e0886ad167
2 changed files with 9 additions and 1 deletions

View File

@@ -2219,6 +2219,9 @@ const (
// NodeAttrSuggestExitNode is applied to each exit node which the control plane has determined
// is a recommended exit node.
NodeAttrSuggestExitNode NodeCapability = "suggest-exit-node"
// NodeAttrDisableWebClient disables using the web client.
NodeAttrDisableWebClient NodeCapability = "disable-web-client"
)
// SetDNSRequest is a request to add a DNS record.