Uploaded image for project: 'OpenShift Builds'
  1. OpenShift Builds
  2. BUILD-776

Operator does not have permission to update roles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Blocker Blocker
    • builds-1.0
    • None
    • shipwright
    • None
    • False
    • None
    • False
    • Pipeline Integrations #3248
    • 1

      Description of problem:

      After creating a ShipwrightBuild object, the downstream `builds for OpenShift` operator fails to deploy the shipwright build controller.

      Workaround

      None

      Prerequisites (if any, like setup, operators/versions):

      1. Deploy latest downstream operator, version openshift-builds-operator-bundle-container-v1.0.0-75

      Steps to Reproduce

       # Create ShipwrightBuild object, targeting any namespace

       

      Actual results:

      Reconciling ShipwrightBuild failed: roles.rbac.authorization.k8s.io "shipwright-build-controller" is forbidden: User "system:serviceaccount:openshift-operators:openshift-builds-operator" cannot update resource "roles" in API group "rbac.authorization.k8s.io" in the namespace "openshift-builds"
      

      Expected results:

      Operator deploys build controllers successfully, marks the ShipwrightBuild instance as Ready

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

              adkaplan@redhat.com Adam Kaplan
              adkaplan@redhat.com Adam Kaplan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: