feat(devboot): remove dev fleet pre-approval

Dev now runs the real trust-store flow end to end: satellites boot with the
instance-CA identities Maestro issues (devboot.EnsureIdentities), but their
first mTLS contact records a pending authorization and is refused (403) until
the owner approves via /api/peers. The ApproveFleet shortcut is gone, along
with the authmgmt dependency in devboot.
This commit is contained in:
2026-08-16 16:52:49 +01:00
parent cda3091ad8
commit e66cf54d5b
2 changed files with 8 additions and 53 deletions
+3 -6
View File
@@ -86,12 +86,9 @@ func main() {
if err := libcontainers.EnsureAuthRunning(ctx); err != nil {
log.Printf("Warning: failed to ensure shared auth service: %v", err)
}
// Dev mode: approve the known fleet in the auth trust store once the
// auth service is up, so the compose-managed satellites' mTLS proxies
// are authorized (the decision a first contact would pend).
if env.IsDev() {
devboot.ApproveFleet(ctx)
}
// No dev pre-approval: the fleet's first mTLS contact records a pending
// authorization and is refused (403) until the owner approves it via
// /api/peers — dev runs the real trust-store flow.
cache.ReconcileContainers(ctx, dc)
go cache.WatchContainers(ctx, dc)
}