diff --git a/install.yaml b/install.yaml index 748cb1f..a3c8fde 100644 --- a/install.yaml +++ b/install.yaml @@ -1,20 +1,20 @@ apiVersion: v1 kind: Namespace metadata: - name: kuadrant-console-plugin + name: kuadrant-system --- apiVersion: apps/v1 kind: Deployment metadata: name: kuadrant-console-plugin - namespace: kuadrant-console-plugin + namespace: kuadrant-system labels: app: kuadrant-console-plugin app.kubernetes.io/component: kuadrant-console-plugin app.kubernetes.io/instance: kuadrant-console-plugin app.kubernetes.io/name: kuadrant-console-plugin app.kubernetes.io/part-of: kuadrant-console-plugin - app.openshift.io/runtime-namespace: kuadrant-console-plugin + app.openshift.io/runtime-namespace: kuadrant-system spec: replicas: 1 selector: @@ -70,7 +70,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: nginx-conf - namespace: kuadrant-console-plugin + namespace: kuadrant-system labels: app: kuadrant-console-plugin app.kubernetes.io/component: kuadrant-console-plugin @@ -112,7 +112,7 @@ metadata: annotations: service.alpha.openshift.io/serving-cert-secret-name: plugin-serving-cert name: kuadrant-console-plugin - namespace: kuadrant-console-plugin + namespace: kuadrant-system labels: app: kuadrant-console-plugin app.kubernetes.io/component: kuadrant-console-plugin @@ -140,6 +140,6 @@ spec: type: Service service: name: kuadrant-console-plugin - namespace: kuadrant-console-plugin + namespace: kuadrant-system port: 9443 basePath: '/' diff --git a/src/components/PolicyTopologyPage.tsx b/src/components/PolicyTopologyPage.tsx index 4723287..4ad3838 100644 --- a/src/components/PolicyTopologyPage.tsx +++ b/src/components/PolicyTopologyPage.tsx @@ -107,6 +107,7 @@ const parseDotToModel = (dotString: string): { nodes: any[]; edges: any[] } => { 'AuthorizationPolicy', 'EnvoyFilter', 'GatewayClass', + 'DNSRecord', ]); // kinds for unassociated policies - these will be grouped @@ -118,7 +119,7 @@ const parseDotToModel = (dotString: string): { nodes: any[]; edges: any[] } => { ]); // kinds for Kuadrant internals - these will be grouped also - const kuadrantInternals = new Set(['ConfigMap', 'Kuadrant']); + const kuadrantInternals = new Set(['ConfigMap', 'Kuadrant', 'Limitador', 'Authorino']); // reconnect edges for excluded, connected nodes (e.g. GatewayClass) const rewireExcludedEdges = (graph, sourceNodeId, targetNodeId) => { diff --git a/src/utils/latest.tsx b/src/utils/latest.tsx index a234866..6371b3d 100644 --- a/src/utils/latest.tsx +++ b/src/utils/latest.tsx @@ -9,6 +9,9 @@ const resourceGVKMapping: { [key: string]: { group: string; version: string; kin Listener: { group: 'gateway.networking.k8s.io', version: 'v1', kind: 'Listener' }, GatewayClass: { group: 'gateway.networking.k8s.io', version: 'v1', kind: 'GatewayClass' }, WasmPlugin: { group: 'extensions.istio.io', version: 'v1alpha1', kind: 'WasmPlugin' }, + 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' }, }; export default resourceGVKMapping;