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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • 4.14.0
    • 4.14.0
    • Build
    • None
    • No
    • Approved
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

      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

              adkaplan@redhat.com Adam Kaplan
              evakhoni@redhat.com Evgeni Vakhonin
              Corey Daley Corey Daley
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: