Skip to content

Commit

Permalink
Merge pull request #150 from Kuadrant/more-internals
Browse files Browse the repository at this point in the history
topology: more internals
  • Loading branch information
openshift-merge-bot[bot] authored Nov 13, 2024
2 parents 652b607 + 3826dfa commit 44cfcc4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/PolicyTopologyPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ const parseDotToModel = (dotString: string): { nodes: any[]; edges: any[] } => {
'EnvoyFilter',
'GatewayClass',
'DNSRecord',
'AuthConfig',
]);

// kinds for unassociated policies - these will be grouped
Expand All @@ -119,7 +120,13 @@ const parseDotToModel = (dotString: string): { nodes: any[]; edges: any[] } => {
]);

// kinds for Kuadrant internals - these will be grouped also
const kuadrantInternals = new Set(['ConfigMap', 'Kuadrant', 'Limitador', 'Authorino']);
const kuadrantInternals = new Set([
'ConfigMap',
'Kuadrant',
'Limitador',
'Authorino',
'ConsolePlugin',
]);

// reconnect edges for excluded, connected nodes (e.g. GatewayClass)
const rewireExcludedEdges = (graph, sourceNodeId, targetNodeId) => {
Expand Down
1 change: 1 addition & 0 deletions src/utils/latest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const resourceGVKMapping: { [key: string]: { group: string; version: string; kin
Authorino: { group: 'operator.authorino.kuadrant.io', version: 'v1beta1', kind: 'Authorino' },
Limitador: { group: 'limitador.kuadrant.io', version: 'v1alpha1', kind: 'Limitador' },
Kuadrant: { group: 'kuadrant.io', version: 'v1beta1', kind: 'Kuadrant' },
ConsolePlugin: { group: 'console.openshift.io', version: 'v1', kind: 'ConsolePlugin' },
};

export default resourceGVKMapping;

0 comments on commit 44cfcc4

Please sign in to comment.