Canvas: Implement ingress auth
Change-Id: Id884940feb0ac96559874f698fb213acd60f76f4
diff --git a/apps/canvas/config/src/graph.ts b/apps/canvas/config/src/graph.ts
index 66c3c07..ef868da 100644
--- a/apps/canvas/config/src/graph.ts
+++ b/apps/canvas/config/src/graph.ts
@@ -150,8 +150,8 @@
https?: PortConnectedTo;
auth?: {
enabled: boolean;
- groups: string[];
- noAuthPathPatterns: string[];
+ groups?: string[];
+ noAuthPathPatterns?: string[];
};
};
@@ -448,6 +448,13 @@
portId: z.string(),
})
.optional(),
+ auth: z
+ .object({
+ enabled: z.boolean(),
+ groups: z.array(z.string()).optional(),
+ noAuthPathPatterns: z.array(z.string()).optional(),
+ })
+ .optional(),
})
.extend(NodeBaseDataSchema.shape),
})