Skip to content

Commit 452773e

Browse files
committed
CONSOLE-4819: Migrate container-security to dynamic
1 parent 2f4e6a3 commit 452773e

File tree

4 files changed

+31
-56
lines changed

4 files changed

+31
-56
lines changed

frontend/packages/container-security/console-extensions.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,34 @@
8383
"required": ["SECURITY_LABELLER"]
8484
}
8585
},
86+
{
87+
"type": "console.page/resource/list",
88+
"properties": {
89+
"model": {
90+
"group": "secscan.quay.redhat.com",
91+
"version": "v1alpha1",
92+
"kind": "ImageManifestVuln"
93+
},
94+
"component": { "$codeRef": "containerSecurityComponent.ImageManifestVulnPage" }
95+
},
96+
"flags": {
97+
"required": ["SECURITY_LABELLER"]
98+
}
99+
},
100+
{
101+
"type": "console.page/resource/details",
102+
"properties": {
103+
"model": {
104+
"group": "secscan.quay.redhat.com",
105+
"version": "v1alpha1",
106+
"kind": "ImageManifestVuln"
107+
},
108+
"component": { "$codeRef": "containerSecurityComponent.ImageManifestVulnDetailsPage" }
109+
},
110+
"flags": {
111+
"required": ["SECURITY_LABELLER"]
112+
}
113+
},
86114
{
87115
"type": "console.dashboards/overview/health/resource",
88116
"properties": {

frontend/packages/container-security/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@console/plugin-sdk": "0.0.0-fixed"
99
},
1010
"consolePlugin": {
11-
"entry": "src/plugin.tsx",
11+
"entry": "src/plugin.ts",
1212
"exposedModules": {
1313
"containerSecurityComponent": "src/components/image-manifest-vuln.tsx",
1414
"summary": "src/components/summary.tsx"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// See console-extensions.json instead
2+
export default [];

frontend/packages/container-security/src/plugin.tsx

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)