fix(route-config): sync applied routes to remote ingress manager after route updates

This commit is contained in:
2026-04-02 16:26:24 +00:00
parent 5e980812b0
commit 73a47e5a97
5 changed files with 21 additions and 2 deletions

View File

@@ -478,6 +478,12 @@ export class DcRouter {
}
: undefined,
this.referenceResolver,
// Sync merged routes to RemoteIngressManager whenever routes change
(routes) => {
if (this.remoteIngressManager) {
this.remoteIngressManager.setRoutes(routes as any[]);
}
},
);
this.apiTokenManager = new ApiTokenManager();
await this.apiTokenManager.initialize();