M2 §2: run actions and manifest fetch over mTLS with Maestro's identity

Extract maestroTransport() (Maestro's identity cert + instance CA) and
expose PeerTransport()/Scheme()/InsecureInternal() so every service peer
edge uses the same client. RunAction now targets
https://{ip}:{port}/action/{name} presenting Maestro's cert (services
require a CA-issued client cert, so only Maestro can drive actions — T4)
and FetchManifestWithRetry fetches /_manifest the same way.
INSECURE_INTERNAL=1 keeps the dev fleet plaintext (debug compose updated
to set it).
This commit is contained in:
2026-08-16 01:12:01 +01:00
parent 77bd21aea2
commit 92f4787146
4 changed files with 80 additions and 21 deletions
+1
View File
@@ -14,6 +14,7 @@ services:
environment:
- DEV_MODE=true
- DCNTRLIZED_DEV=true
- INSECURE_INTERNAL=1
- GITEA_URL=${GITEA_URL:-http://192.168.122.183:3000}
- GITEA_REGISTRY_RO_TOKEN=${GITEA_REGISTRY_RO_TOKEN}
- GITEA_RW_PACKAGE_TOKEN=${GITEA_RW_PACKAGE_TOKEN}