control/controlclient,ipn/ipnlocal: wire tka enable/disable

Signed-off-by: Tom DNetto <[email protected]>
This commit is contained in:
Tom DNetto authored and Tom committed 2022-09-21 12:57:59 -07:00
1 parent b9b0bf65a0
commit e9b98dd2e1
16 files changed
+469 -17

No files matched your search

+8
View File
@@ -14,6 +14,7 @@ import (
"time"
"tailscale.com/tailcfg"
"tailscale.com/tka"
"tailscale.com/types/key"
"tailscale.com/wgengine/filter"
)
@@ -61,6 +62,13 @@ type NetworkMap struct {
// check problems.
ControlHealth []string
// TKAEnabled indicates whether the tailnet key authority should be
// enabled, from the perspective of the control plane.
TKAEnabled bool
// TKAHead indicates the control plane's understanding of 'head' (the
// hash of the latest update message to tick through TKA).
TKAHead tka.AUMHash
// ACLs
User tailcfg.UserID