Skip to content

Commit

Permalink
extra filters for policy topology
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Madigan <[email protected]>
  • Loading branch information
jasonmadigan committed Oct 18, 2024
1 parent f49ca5d commit 4cc2458
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/components/PolicyTopologyPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,14 @@ const parseDotToModel = (dotString: string): { nodes: any[]; edges: any[] } => {
const connectedNodeIds = new Set<string>();

// Excluded resource kinds
const excludedKinds = ['Issuer', 'ClusterIssuer', 'WasmPlugin'];
const excludedKinds = [
'Issuer',
'ClusterIssuer',
'Certificate',
'WasmPlugin',
'AuthorizationPolicy',
'EnvoyFilter',
];

// Define separate groups
const unassociatedPolicies = new Set<string>([
Expand All @@ -110,7 +117,7 @@ const parseDotToModel = (dotString: string): { nodes: any[]; edges: any[] } => {
'AuthPolicy',
'RateLimitPolicy',
]);
const kuadrantInternals = new Set<string>(['ConfigMap', 'WasmPlugin']);
const kuadrantInternals = new Set<string>(['ConfigMap']);

graph.edges().forEach((edge) => {
const sourceNode = graph.node(edge.v);
Expand Down

0 comments on commit 4cc2458

Please sign in to comment.