Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-2053

Operator Should not delete 'edit' rolebinding in namaespaces

    XMLWordPrintable

Details

    • Pipelines Sprint 215, Pipelines Sprint 216, Pipelines Sprint 217

    Description

      Description

      The operator deletes and recreates `edit` rolebinding in namespaces where it manages rbac. This causes customizations by users and other agents to be removed.

      *reported on* https://coreos.slack.com/archives/CSPS1077U/p1645108951141369

      Possible solutions

      • operator can avoid setting ownerReferences to the edit rolebinding
      • operator can use a different name for this particular rolebinding. But we need to ensure that that doesn't affect other functionality.

      code reference: https://github.com/tektoncd/operator/blob/a0cd67e5c428babf1f76316a14cf9c4526055cab/pkg/reconciler/openshift/tektonconfig/rbac.go#L487

      Acceptance Criteria

      • 'edit' rolebinding in namespace are not deleted by operator

      Attachments

        Activity

          People

            rh-ee-nikthoma Nikhil Thomas
            rh-ee-nikthoma Nikhil Thomas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: