mesh/merge-gate checking again: the gate refused `unknown` because the controller judged with a node-engine validator pinned before mesh-host #117; mesh-co…
mesh/repo-check checking again: the gate refused `unknown` because the controller judged with a node-engine validator pinned before mesh-host #117; mesh-co…
mesh/delivery-group group feat/owned-paths checking: 0 of 2 member(s) ready
mesh/delivery superseded: a newer head of the same pull request
Every directory and archive resource carries `unknown`: move-out for a home folder whose program writes nothing there (the node-engine, delivered in mesh-host #117, moves the rest to ~/.local/state/mesh-moved/<module>/ with a list), module for ~/.ssh and ~/.claude, program elsewhere; `knows` keeps what a program or the operator relies on (powerlevel10k's compiled files, i3's scripts and the asus/g14 drop-ins, dunst's slack rule, betterbird's records, node-env's forge credential, issue 1033). Two shared folders are no longer declared. Each module's README says it. checks/owned holds every manifest to it; checks/sshdir stays while main's merge check runs it (issue 1035). Tests that pin a manifest follow the new key only. Reviewed in three rounds.
107 lines
2.4 KiB
JSON
107 lines
2.4 KiB
JSON
{
|
|
"module": "step-ca",
|
|
"version": "1",
|
|
"capabilities": [
|
|
"container-runtime"
|
|
],
|
|
"provides": [
|
|
{
|
|
"name": "internal-acme-ca",
|
|
"scope": "mesh"
|
|
}
|
|
],
|
|
"serves": {
|
|
"internal-acme-ca": {
|
|
"path": "/acme/acme/directory",
|
|
"roots": "/roots.pem"
|
|
}
|
|
},
|
|
"listens": [
|
|
{
|
|
"name": "acme",
|
|
"port": 9000,
|
|
"protocol": "tcp",
|
|
"from": "mesh",
|
|
"why": "the ACME directory and step-ca API; a proxy on any node reaches it here over the mesh to obtain certificates, and its single listen is what the consumer is told the port is"
|
|
}
|
|
],
|
|
"own-secrets": {
|
|
"password": "${dir:mesh-state}/password"
|
|
},
|
|
"data": {
|
|
"own": [
|
|
{
|
|
"id": "home",
|
|
"path": "${dir:home}",
|
|
"class": "valuable",
|
|
"why": "the mesh's certificate authority: its keys and its database of what it issued"
|
|
}
|
|
]
|
|
},
|
|
"resources": [
|
|
{
|
|
"id": "mesh-state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"place": "mesh",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "home",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"owner": "1000:1000",
|
|
"place": ".",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "config",
|
|
"type": "file",
|
|
"path": "${dir:mesh-state}/config.json",
|
|
"mode": "0644",
|
|
"template": "files/config.json",
|
|
"takes-config": [],
|
|
"merge": "json"
|
|
},
|
|
{
|
|
"id": "init-env",
|
|
"type": "file",
|
|
"path": "${dir:mesh-state}/init.env",
|
|
"mode": "0600",
|
|
"template": "files/init.env"
|
|
},
|
|
{
|
|
"id": "server",
|
|
"type": "container",
|
|
"name": "step-ca",
|
|
"image": "smallstep/step-ca@sha256:a2b17872915c193259b75a5474c398326f41bd199f0842093e52cf4182bc8270",
|
|
"health": {
|
|
"kind": "runtime"
|
|
},
|
|
"network": "host",
|
|
"env-file": [
|
|
"${dir:mesh-state}/init.env"
|
|
],
|
|
"env": {
|
|
"DOCKER_STEPCA_INIT_NAME": "Mesh Internal CA",
|
|
"DOCKER_STEPCA_INIT_ACME": "true",
|
|
"DOCKER_STEPCA_INIT_REMOTE_MANAGEMENT": "false"
|
|
},
|
|
"volumes": [
|
|
"${dir:home}:/home/step",
|
|
"${dir:mesh-state}:/run/mesh:ro"
|
|
],
|
|
"secrets-in-environment": "the entrypoint honours DOCKER_STEPCA_INIT_PASSWORD_FILE; convertible, awaiting a bed that proves it"
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "files",
|
|
"kind": "archive",
|
|
"from": "files"
|
|
}
|
|
]
|
|
}
|
|
}
|