We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cb5759 commit c537b23Copy full SHA for c537b23
swarmgate/routes.ts
@@ -313,7 +313,7 @@ export function setupRoutes(tenantLabelValue: string) {
313
314
if (taskTemplate.Networks) {
315
for (const network of taskTemplate.Networks) {
316
- if (SERVICE_ALLOW_LISTED_NETWORKS.includes(network.Target)) {
+ if (await isOwnedNetwork(network.Target, true)) {
317
// explicitly allowed. Example: Traefik Ingress network
318
continue;
319
}
0 commit comments