Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-5033

Write an enhancement proposal

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • UI
    • None
    • ODC Sprint 192

      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

      1. Create and discuss an enhancement proposal in openshift/enhancements repo in enhancements/console
      2. enhancement is approved

      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;
          disabled?: boolean; // NEW
          field?: string;
          values?: string[];
          subcategories?: Categories;
        }
        
        export const catalogCategories: Categories = ...
        

            cjerolim Christoph Jerolimov
            cjerolim Christoph Jerolimov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: