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

Unable to create a custom clusterrole to install pipeline clusterextension by following the official Red Hat doc

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • Rejected
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Unable to create a custom clusterrole to install pipeline clusterextension by following the official red hat doc

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

      olm v1

      How reproducible:

      100%

      Steps to Reproduce:

      1- Follow the Red Hat documentation https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/extensions/cluster-extensions#managing-ce to install a pipeline clusterextension 

      2- While clusterextension installation, it will fail due to many missing rbac for the service account. if we directly assign a cluster admin role to the service account the installation will get succeeded.

      3- The issue is that, its not possible to create a clusterrole by following the instruction in the doc. 

      Actual results:

      unable to create a clusterrole with respect to clusterextension

      Expected results:

       Should be able to create a clusterrole with respect to clusterextension 

      Additional info:

      The installation is failing with below error:
      
      - lastTransitionTime: "2025-04-08T05:33:49Z"
          message: "32 errors occurred:\n\t* serviceaccounts \"openshift-pipelines-operator\"
            is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a
            resource you can't set finalizers on: , <nil>\n\t* secrets \"tekton-operator-webhook-certs\"
            is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a
            resource you can't set finalizers on: , <nil>\n\t* configmaps \"tekton-operator-info\"
            is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a
            resource you can't set finalizers on: , <nil>\n\t* configmaps \"tekton-config-defaults\"
            is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a
            resource you can't set finalizers on: , <nil>\n\t* configmaps \"tekton-config-observability\"
            is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a
            resource you can't set finalizers on: , <nil>\n\t* configmaps \"tekton-operator-controller-config-leader-election\"
            is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a
      
      

       

              rhn-support-mipeter Michael Peter
              rhn-support-amuhamme MUHAMMED ASLAM V K
              None
              None
              bruno andrade bruno andrade
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: