Details
-
Bug
-
Resolution: Done
-
Blocker
-
Pipelines 1.6
-
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