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

builds.config.openshift.io CRD is available in a cluster with baselineCapabilitySet None

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 4.15.0
    • 4.14.0
    • Build
    • None
    • Pipeline Integrations #3247, Pipeline Integrations #3248, Pipeline Integrations #3249, Pipeline Integrations #3251
    • 4
    • No
    • Approved
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

    Description

      Description of problem:

      a cluster installed with baselineCapabilitySet: None have build available while the build capability is disabled
      
      
      ❯ oc get -o json clusterversion version | jq '.spec.capabilities'                      
      {
        "baselineCapabilitySet": "None"
      }
      
      ❯ oc get -o json clusterversion version | jq '.status.capabilities.enabledCapabilities'
      null
      
      ❯ oc get build -A                   
      NAME      AGE
      cluster   5h23m
      

      Version-Release number of selected component (if applicable):

      4.14.0-0.nightly-2023-10-04-143709

      How reproducible:

      100%

      Steps to Reproduce:

      1.install a cluster with baselineCapabilitySet: None
      

      Actual results:

      ❯ oc get build -A                   
      NAME      AGE
      cluster   5h23m
      

      Expected results:

      ❯ oc get -A build
      error: the server doesn't have a resource type "build"
      

       

      slack thread with more info: https://redhat-internal.slack.com/archives/CF8SMALS1/p1696527133380269

      Attachments

        Activity

          People

            adkaplan@redhat.com Adam Kaplan
            evakhoni@redhat.com Evgeni Vakhonin (Inactive)
            Jitendar Singh Jitendar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated: