-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
5
-
False
-
False
-
Undefined
-
Not Supported
-
-
ODC Sprint 192, ODC Sprint 193
Description
As a admin, I want to add, update or remove some of the catalog categories. For this we will move the static categories into a custom resource.
We want to use the "customization" spec in the CRD "Console/operator.openshift.io/v1" with the name "cluster" in the namespace "openshift-console". We need to extend this CRD and move the actual definitions into a yaml resource.
Acceptance Criteria
- Extend the "customization" spec type definition for the CRD in the openshift/api project
Additional Details:
- The console config was saved as "console-public" in the namespace "openshift-config-managed" within the customization spec.
- The old type definition for a catalog category is:
export type Categories = Record<string, Catalog>; export interface Catalog { id: string; label: string; field?: string; values?: string[]; subcategories?: Categories; } export const catalogCategories: Categories = ...