mirror of
https://github.com/tailscale/tailscale.git
synced 2025-06-10 17:58:38 +00:00
tailcfg: add UDP relay PeerCapability's (#15516)
Updates tailscale/corp#27502 Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
parent
8811694745
commit
917bcdba79
@ -1462,6 +1462,13 @@ const (
|
|||||||
// user groups as Kubernetes user groups. This capability is read by
|
// user groups as Kubernetes user groups. This capability is read by
|
||||||
// peers that are Tailscale Kubernetes operator instances.
|
// peers that are Tailscale Kubernetes operator instances.
|
||||||
PeerCapabilityKubernetes PeerCapability = "tailscale.com/cap/kubernetes"
|
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
|
// NodeCapMap is a map of capabilities to their optional values. It is valid for
|
||||||
|
Loading…
x
Reference in New Issue
Block a user