Capture mesh-catalog at feat/r4g (2246ccc4) with the templates its manifests name and its predefined.json, and lay the copy out as a repository's root
The catalogue's manifests moved their content into template files and fall back to predefined keys, so a copy of module.json alone no longer passes the catalogue's own check; the bus's Dockerfile is gone from the catalogue.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"module": "route-adapter",
|
||||
"version": "1",
|
||||
"moved": true,
|
||||
"slug": "radapt",
|
||||
"capabilities": [
|
||||
"container-runtime"
|
||||
@@ -25,26 +26,56 @@
|
||||
"mode": "read-write"
|
||||
}
|
||||
],
|
||||
"config": {
|
||||
"dynamic": {
|
||||
"type": "string",
|
||||
"description": "The directory the predecessor proxy's file provider reads, on this machine, as an absolute path.",
|
||||
"pattern": "/.*",
|
||||
"trusted": true,
|
||||
"default": "/services/traefik/dynamic"
|
||||
},
|
||||
"entrypoint": {
|
||||
"type": "string",
|
||||
"description": "The predecessor proxy's entry point it serves public HTTPS on, by its own name.",
|
||||
"trusted": true,
|
||||
"default": "websecure"
|
||||
},
|
||||
"certificate-resolver": {
|
||||
"type": "string",
|
||||
"description": "The predecessor proxy's certificate resolver, by its own name.",
|
||||
"trusted": true,
|
||||
"default": "le"
|
||||
},
|
||||
"machine": {
|
||||
"type": "string",
|
||||
"description": "How the predecessor's proxy reaches this machine: a host name or an address.",
|
||||
"trusted": true,
|
||||
"default": "host.docker.internal"
|
||||
}
|
||||
},
|
||||
"resources": [
|
||||
{
|
||||
"id": "state",
|
||||
"type": "directory",
|
||||
"mode": "0700",
|
||||
"place": "."
|
||||
"place": ".",
|
||||
"unknown": "program"
|
||||
},
|
||||
{
|
||||
"id": "routes-dir",
|
||||
"type": "directory",
|
||||
"path": "/var/lib/route-adapter/routes",
|
||||
"mode": "0700"
|
||||
"mode": "0700",
|
||||
"unknown": "program"
|
||||
},
|
||||
{
|
||||
"id": "config",
|
||||
"type": "file",
|
||||
"path": "${dir:state}/config.json",
|
||||
"takes-config": ["dynamic", "entrypoint", "certificate-resolver", "machine"],
|
||||
"merge": "json",
|
||||
"mode": "0644",
|
||||
"content": "{\n \"dynamic\": \"/services/traefik/dynamic\",\n \"entrypoint\": \"websecure\",\n \"certificate-resolver\": \"le\",\n \"machine\": \"host.docker.internal\"\n}\n"
|
||||
"template": "files/config.json"
|
||||
},
|
||||
{
|
||||
"id": "adapt",
|
||||
@@ -75,7 +106,29 @@
|
||||
"entrypoints": [
|
||||
"index.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "provider",
|
||||
"kind": "bundle",
|
||||
"language": "go",
|
||||
"system": "arch",
|
||||
"from": "cmd/route-provider",
|
||||
"binary": "route-provider",
|
||||
"loads": [
|
||||
"route-provider"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "files",
|
||||
"kind": "archive",
|
||||
"from": "files"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"state": [
|
||||
"bound"
|
||||
],
|
||||
"reads": [
|
||||
"mesh-controller.assignments"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user