Skip to content
This repository was archived by the owner on Dec 18, 2025. It is now read-only.

Commit 68e852e

Browse files
authored
feat(RHINENG-17219): Migrate Frontend Operator (#584)
1 parent a5e2fa8 commit 68e852e

File tree

4 files changed

+743
-368
lines changed

4 files changed

+743
-368
lines changed

deploy/frontend.yml

Lines changed: 47 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
apiVersion: v1
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/RedHatInsights/frontend-components/refs/heads/master/packages/config-utils/src/feo/spec/frontend-crd.schema.json
2+
apiVersion: template.openshift.io/v1
23
kind: Template
34
metadata:
45
name: policies-ui-frontend
@@ -18,19 +19,61 @@ objects:
1819
paths:
1920
- /apps/policies
2021
image: ${IMAGE}:${IMAGE_TAG}
21-
navItems:
22-
- appId: policies
22+
feoConfigEnabled: true
23+
serviceTiles:
24+
- id: policies
25+
section: operations
26+
group: rhel
2327
title: Policies
2428
href: /insights/policies
29+
description: Monitor your Red Hat Enterprise Linux inventory systems against set parameters to detect deviation or misalignment.
30+
icon: InsightsIcon
31+
searchEntries:
32+
- id: RHEL.policies
33+
title: Policies
34+
href: /insights/policies
35+
description: Monitor your Red Hat Enterprise Linux inventory systems against set parameters to detect deviation or misalignment.
36+
alt_title:
37+
- policies
38+
- facts
39+
- conditions
40+
- trigger
41+
- notifications
42+
- alerts
43+
- insights
44+
- notify
45+
- integration
46+
- conditions
47+
- events
48+
- raise alerts on system configuration changes
49+
bundleSegments:
50+
- segmentId: operations
51+
bundleId: insights
52+
position: 200
53+
navItems:
54+
- id: operations
55+
title: Operations
56+
expandable: true
57+
routes:
58+
- id: policies
59+
title: Policies
60+
href: /insights/policies
61+
icon: InsightsIcon
62+
product: Red Hat Insights
2563
module:
2664
manifestLocation: /apps/policies/fed-mods.json
65+
analytics:
66+
APIKey: "apRCg9V6oMXCcnTingqRYW6m1er4hkCW"
67+
config:
68+
supportCaseData:
69+
product: Red Hat Insights
70+
version: Policies
2771
modules:
2872
- id: policies
2973
module: ./RootApp
3074
routes:
3175
- pathname: /insights/policies
3276
- pathname: /ansible/policies
33-
moduleID: policies
3477
parameters:
3578
- name: ENV_NAME
3679
required: true

fec.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,6 @@ module.exports = {
4848
`/src/AppEntry`
4949
)
5050
}
51-
}
51+
},
52+
frontendCRDPath: 'deploy/frontend.yml'
5253
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"@babel/plugin-transform-runtime": "^7.26.10",
5050
"@babel/preset-env": "^7.25.4",
5151
"@babel/preset-react": "^7.24.7",
52-
"@redhat-cloud-services/frontend-components-config": "^6.2.9",
52+
"@redhat-cloud-services/frontend-components-config": "^6.6.11",
5353
"@redhat-cloud-services/tsc-transform-imports": "^1.0.16",
5454
"@testing-library/dom": "^10.4.0",
5555
"@testing-library/jest-dom": "^6.6.3",

0 commit comments

Comments
 (0)