From a83dd3d00a335f989bb2eff357c382d3ce8fbaa3 Mon Sep 17 00:00:00 2001 From: jochen Date: Mon, 31 Aug 2026 13:47:21 +0200 Subject: [PATCH] A module says own-secrets, not needs --- test/integration/mesh.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/mesh.test.ts b/test/integration/mesh.test.ts index c84ce37..09a268b 100644 --- a/test/integration/mesh.test.ts +++ b/test/integration/mesh.test.ts @@ -660,7 +660,7 @@ test("the builder is a module the mesh assigns, with a credential the mesh deliv `"requires":["artifact-store"],"capabilities":["container-runtime"],` + `"claims":[{"name":"the-build-machine","scope":"node"}],` + `"binds":{"artifact-store":"/var/lib/mesh/builder/artifact-store.json"},` + - `"needs":{"broker":"/var/lib/mesh/builder/broker"},` + + `"own-secrets":{"broker":"/var/lib/mesh/builder/broker"},` + `"build":{"artifacts":[{"name":"builder","kind":"upstream",` + `"from":"${pinned("mesh-builder")}"}]},` + `"resources":[` + @@ -774,7 +774,7 @@ test("rotating a credential moves both ends, and the old one stops working", { `"provides":[{"name":"realdatabase","scope":"mesh"}],` + `"capabilities":["container-runtime"],` + `"serves":{"realdatabase":{"port":5433}},` + - `"needs":{"superuser":"${store}/superuser"},` + + `"own-secrets":{"superuser":"${store}/superuser"},` + `"grants":{"realdatabase":"${store}/grants"},` + // Both halves. `grants` is where each consumer's sealed password lands; `receives` is the // manifest saying who asked and for what. Without the second the provisioner finds a