Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-1854

[Spike] Code cleanup: Simplify reconciler code for Roles/Rolebindings

XMLWordPrintable

    • GITOPS Sprint 217

      From GITOPS-1089:

      As a member of the GitOps Engineering Team, I noticed that the reconciliation logic for permissions (Roles, RoleBindings, ServiceAccounts) is often confusing and redundant, resulting in more API server requests than necessary and makes understanding the logic unnecessarily complex and error prone. Because this logic is on a very critical path in the Operator and errors in it can have dire consequences, we should refactor the code to be more simple and understandable and be less complex and less error-prone.

      Acceptance Criteria:

      • A design document explaining the approach to simplify the reconcile workflow to reduce the number of calls to api-server for role/role binding/service account permissions
      • Impact on the current reconcile workflow

              isequeir@redhat.com Ishita Sequeira
              isequeir@redhat.com Ishita Sequeira
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: