Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-2244

Improve Cluster Config ‘OperatorHub’ and ‘CatalogSource’ views for new OLM features

XMLWordPrintable

    • Improve Cluster Config ‘OperatorHub’ and ‘CatalogSource’ views
    • Done
    • OCPPLAN-8037 - OLM UI: Operator first-class experience
    • OCPPLAN-8037OLM UI: Operator first-class experience
    • 0% To Do, 0% In Progress, 100% Done
    • Console - Sprint 192, Console - Sprint 194, Console - Sprint 196

      Background:

      OpenShift console allows users (cluster admins) to change the state of the “default hub sources” for OperatorHub on the cluster from “enabled” to “disabled” and vice versa through “Global Configuration → OperatorHub” view from the “Cluster Settings” view.

      Starting from OpenShift 4.4, the console and OLM provides richer configurations for the ‘CatalogSource’ objects that enable users to create their curated sources for OperatorHub with custom “Display Name”, “URL of Image Registry”, and the “Polling Interval” for updating the custom OperatorHub source.

      This epic is about reflecting/exposing the newer capabilities on the ‘OperatorHub’ (Cluster Config view) and the ‘CatalogSource’ list and details views.

      Goals:

      1. As an admin user of console, I'd like to:
      easily disable/enable the predefined Operator sources for the OperatorHub

      so that I can:
      control the sources of the Operators my cluster users see on the OperatorHub view.

      2. As an admin user of console, I'd like to:
      easily understand how to add/edit/view/remove my custom Operator catalogSource for the OperatorHub

      so that I can
      easier managing (add/edit/view/remove) my custom sources for the OperatorHub

      3. As an admin user of console, I'd like to:
      easily see the configurations and status of my custom Operator catalogSource for the OperatorHub

      so that I can
      easier managing (review/edit) the configurations of my custom sources for the OperatorHub

      Acceptance Criteria:

      1. Improve cluster config: ‘OperatorHub’ Detail view
        • Add toggles for “disabled/enabled” predefined Operators
          • "Red Hat Operators"
          • "Certified Operators"
          • "Community Operators"
          • "Marketplace Operators"
        • Add “help text” on details view to guide users:
          Change the state of the default hub sources for OperatorHub on the cluster from enabled to disabled and vice versa. Add and manage your curated sources for OperatorHub on the Sources tab with custom Display Name, URL of Image Registry, and the Polling Interval for updating your custom OperatorHub source.
          
        • Embedded a link to the "Sources" tab in the help text above:
          URL/k8s/cluster/config.openshift.io~v1~OperatorHub/cluster/sources
          
          • Easier access to create/manage custom ‘CatalogSource
      2. Improve ‘CatalogSource’ list view (on the “Source” tab) and details view
        • On ‘CatalogSourcelist view:
          • Show “Catalog Polling Interval” (if `spec.sourceType: grpc`)
          • Expose “Status” (status.connectionState.lastObservedState)
        • On ‘CatalogSourcedetails view:
          • Show & Edit “Catalog Polling Interval” (if `spec.sourceType: grpc`)
            --> A dropdown with options in ‘15m’, ‘30m’, ‘45m’, ‘60m’.
          • (Sync up with the list view) Expose newly introduced fields on the ‘CatalogSource’ object:
            • Expose “Status” (status.connectionState.lastObservedState)
            • Display Name (spec.displayName)
            • Publisher (spec.publisher)
            • Availability
            • Endpoint (spec.image)
            • Polling Interval
            • # of Operators
          • Add an “Operators” tab - show a list of “PackageManifests” (Operators) consists of this ‘CatalogSource

      Current UI in OpenShift console:

      See current console screenshots in the attachments for reference:

      1. Cluster config: ‘OperatorHub’ Detail view
      2. CatalogSource’ list view (on the “Source” tab)
      3. CatalogSource‘ Details view
      4. mocked screenshot - "Operators" tab on the ‘CatalogSource‘ Details view

            hgovinda Harish Govindarajulu
            rhn-coreos-tunwu Tony Wu
            YaDan Pei YaDan Pei
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: