tailcfg: add UDP relay PeerCapability's (#15516)

Updates tailscale/corp#27502

Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
Jordan Whited 2025-04-03 09:52:31 -07:00 committed by GitHub
parent 8811694745
commit 917bcdba79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1462,6 +1462,13 @@ const (
// user groups as Kubernetes user groups. This capability is read by
// peers that are Tailscale Kubernetes operator instances.
PeerCapabilityKubernetes PeerCapability = "tailscale.com/cap/kubernetes"
// PeerCapabilityRelay grants the ability for a peer to allocate relay
// endpoints.
PeerCapabilityRelay PeerCapability = "tailscale.com/cap/relay"
// PeerCapabilityRelayTarget grants the current node the ability to allocate
// relay endpoints to the peer which has this capability.
PeerCapabilityRelayTarget PeerCapability = "tailscale.com/cap/relay-target"
)
// NodeCapMap is a map of capabilities to their optional values. It is valid for