Re-pin the release sdk; the nats tools' credential gets a directory of its own the tools can reach (issue 1952)

This commit is contained in:
2026-10-29 22:00:20 +01:00
parent 43c44bcbee
commit 9ccb6f4060
16 changed files with 31 additions and 24 deletions
+9 -2
View File
@@ -20,7 +20,7 @@
"bus-users": "/var/lib/nats-module/conf/accounts.conf",
"own-secrets": {
"broker": "${dir:mesh-state}/broker",
"broker-nats-tools": "${dir:mesh-state}/broker-nats-tools"
"broker-nats-tools": "${dir:tools-secret}/broker-nats-tools"
},
"capabilities": [
"container-runtime"
@@ -92,6 +92,13 @@
"mode": "0700",
"unknown": "program"
},
{
"id": "tools-secret",
"type": "directory",
"mode": "0711",
"place": "mesh",
"unknown": "program"
},
{
"id": "snapshots",
"type": "directory",
@@ -202,7 +209,7 @@
"MESH_NATS_CONTAINER": "mesh-broker-nats",
"MESH_NATS_USERS_FILE": "/etc/nats/accounts.conf",
"MESH_NATS_SNAPSHOTS_DIR": "${dir:snapshots}",
"NATS_TOOLS_CREDENTIAL": "${dir:mesh-state}/broker-nats-tools"
"NATS_TOOLS_CREDENTIAL": "${dir:tools-secret}/broker-nats-tools"
}
},
{