The route-forwarding bed installs the catalogue's authority, proxy and consumer; the whole-mesh bed installs the vault first #46
@@ -171,6 +171,11 @@ test("the mesh routes a public name through the proxy to the consumer, and withd
|
||||
// is routed under is composed from its label and the node's public domain (ADR 0066), which
|
||||
// the bed sets first.
|
||||
await mesh(`node public-domain ${MACHINE} ${DOMAIN}`);
|
||||
// The authority certifies itself for the machine's private-network address, which is what a
|
||||
// consumer on any node dials; a machine raised from the bundle has none until it is placed on
|
||||
// the overlay. Placed as a hub of one, the way a real first node is.
|
||||
await mesh(`overlay place ${MACHINE} --hub --endpoint 192.0.2.10:51820 --site lab`);
|
||||
await mesh(`assign ${MACHINE} networking`);
|
||||
for (const name of ["step-ca", "route-proxy", "hello-web"]) {
|
||||
await must(`printf %s ${quote(catalogueModule(name, held))} > /tmp/${name}.json && docker cp /tmp/${name}.json mesh-controller:/${name}.json`);
|
||||
await mesh(`module add /${name}.json`);
|
||||
|
||||
Reference in New Issue
Block a user