Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-17948

Devconsole doesn't show essential features like add page and topology when Build and DeploymentConfigs capabilities are disabled

    XMLWordPrintable

Details

    Description

      Description of problem:

      Version-Release number of selected component (if applicable):
      Tested with https://amd64.ocp.releases.ci.openshift.org/releasestream/4.14.0-0.nightly/release/4.14.0-0.nightly-2023-08-21-033349

      How reproducible:
      Always with the latest nightly build when the Build and DeploymentConfig capabilities are disabled

      Steps to Reproduce:
      Create a 4.14 shared cloud and disable the capabilities for Samples, Builds and DeploymentConfigs

      1. Instead of ./openshift-install create cluster{{, run {{./openshift-install create install-config
      2. Add this to the install-config.yaml:
      capabilities:
        baselineCapabilitySet: None
        additionalEnabledCapabilities:
        - baremetal
        - Console
        - Insights
        - marketplace
        - Storage
        # - openshift-samples
        - CSISnapshot
        - NodeTuning
        - MachineAPI
        # - Build
        # - DeploymentConfig
      
        1. Start the cluster with ./openshift-install create cluster
        2. Login to the new cluster and switch to the developer perspective

      Actual results:
      The following main navigation entries are missed:

      1. Add page
      2. Topology
      3. Observe
      4. Search
      5. Project

      (Only Helm, ConfigMap and Secret is shown.)

      The add page should still show the "Import from Git" which could not be used to import a resource without the BuildConfig.

      Expected results:
      All navigation items should be displayed.

      The add page should not show "Import from Git" if the BuildConfig CRD isn't installed.

      Additional info:

      Attachments

        Activity

          People

            cjerolim Christoph Jerolimov
            cjerolim Christoph Jerolimov
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: