Put the bus's two mounted programs under a directory the module declares, as the controller's module check requires (review round 1, C1)
This commit is contained in:
@@ -105,17 +105,24 @@
|
||||
"template": "files/nats.conf",
|
||||
"mode": "0644"
|
||||
},
|
||||
{
|
||||
"id": "state",
|
||||
"type": "directory",
|
||||
"mode": "0700",
|
||||
"place": ".",
|
||||
"unknown": "program"
|
||||
},
|
||||
{
|
||||
"id": "program-snapshot",
|
||||
"type": "archive",
|
||||
"path": "/var/lib/nats-module/snapshot",
|
||||
"path": "${dir:state}/snapshot",
|
||||
"artifact": "snapshot",
|
||||
"unknown": "program"
|
||||
},
|
||||
{
|
||||
"id": "program-entrypoint",
|
||||
"type": "archive",
|
||||
"path": "/var/lib/nats-module/entrypoint",
|
||||
"path": "${dir:state}/entrypoint",
|
||||
"artifact": "entrypoint",
|
||||
"unknown": "program"
|
||||
},
|
||||
@@ -131,8 +138,8 @@
|
||||
"/var/lib/mesh-broker-nats:/data",
|
||||
"/var/lib/nats-module/conf:/etc/nats:ro",
|
||||
"${access:tls}:/tls:ro",
|
||||
"/var/lib/nats-module/snapshot:/opt/mesh:ro",
|
||||
"/var/lib/nats-module/entrypoint:/opt/mesh-entrypoint:ro"
|
||||
"${dir:state}/snapshot:/opt/mesh:ro",
|
||||
"${dir:state}/entrypoint:/opt/mesh-entrypoint:ro"
|
||||
],
|
||||
"args": [
|
||||
"sh",
|
||||
|
||||
Reference in New Issue
Block a user