mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-25 19:21:18 -08:00
A blueprint-bound node carries a projection of the bound Blueprint's ACL definition delivered via the existing MapResponse poll. Add Node.BlueprintID (the bound blueprint's name) and Node.BlueprintConfig (the projected v1 subset: tags, serves.apps, serves.ipsets, attrs) so the control plane has somewhere to put the projection and the client has somewhere to read it from. BlueprintConfig.Equal is required so the client can detect when a re-projection changes anything and re-apply local state. Node.Equal is extended to include both new fields. The viewer/cloner codegen directives now include BlueprintConfig so the generated NodeView/Clone treat it as a first-class field. Bump CurrentCapabilityVersion to 139 so the server can avoid sending these fields to clients that would ignore them. Updates #cleanup Signed-off-by: Kabir Sikand <[email protected]>