The facts write the suffix the control plane composed the names with, handed down rather than written twice (review of issue 079); the fixture is keyed as production keys it

This commit is contained in:
2026-09-22 01:27:50 +02:00
parent b529c49cff
commit 8152665298
4 changed files with 52 additions and 28 deletions
+2 -1
View File
@@ -13,6 +13,7 @@ import (
"github.com/novox/mesh-controller/internal/catalogue"
"github.com/novox/mesh-controller/internal/inventory"
"github.com/novox/mesh-controller/internal/licences"
"github.com/novox/mesh-controller/internal/overlay"
"net"
"strconv"
)
@@ -481,7 +482,7 @@ func declarationWith(ctx context.Context, open *stores, node string,
return plan.Declaration(catalogue.Rendering{
Settings: settings, Generators: gens, Grants: grants, Needed: needed, Ports: ports,
Certificate: certificate, Authority: authority, Mesh: private, Names: names,
Foundation: foundation, Kept: kept})
Suffix: overlay.Suffix(), Foundation: foundation, Kept: kept})
}
// routeNamesInTheMesh is every routed name and the address of the node that serves it (novox/hq