Adoption mode: a node in use is adopted before it is converged (hq ADR 0100–0103) #20

Merged
jschoubben merged 52 commits from feat/adoption-mode into main 2026-09-22 19:01:47 +00:00
Showing only changes of commit a4e4632077 - Show all commits
+2 -2
View File
@@ -115,12 +115,12 @@ type FoundFirewall struct {
WasActive bool `json:"was_active,omitempty"` WasActive bool `json:"was_active,omitempty"`
// DisabledByMesh is set when converging retired it, so returning to adopted enables it again // DisabledByMesh is set when converging retired it, so returning to adopted enables it again
// and nothing else ever does. // and nothing else ever does.
DisabledByMesh bool `json:"disabled_by_mesh,omitempty"` DisabledByMesh bool `json:"disabled_by_mesh,omitempty"`
// Forward is each family's forward policy as it was before the mesh disabled the firewall, // Forward is each family's forward policy as it was before the mesh disabled the firewall,
// by the tool that sets it — recorded before, so a retirement retried puts back what the // by the tool that sets it — recorded before, so a retirement retried puts back what the
// machine had. // machine had.
Forward map[string]string `json:"forward,omitempty"` Forward map[string]string `json:"forward,omitempty"`
FoundAt time.Time `json:"found_at"` FoundAt time.Time `json:"found_at"`
} }
// Held is one thing found on an adopted node — a file, directory or container present at a declared // Held is one thing found on an adopted node — a file, directory or container present at a declared