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

Operator Should ignore namespaces which are "being terminated"

XMLWordPrintable

    • Pipelines Sprint 225

      Description

      Operator creates RBAC and other resources like ConfigMaps in user namespaces (namespaces without kube- or openshift- prefix). If the any of the attempts of operator to create those resources result in error, the reconciler returns error and tries to reconciles (ie, re-attempt in a future execution context).

      If a namespace(or project) is being deleted and the deletion is being blocked by an unhandled finalizer. The operator be indefinetly blocked in its attempt to create the RBAC and other resources needed to install tektoncd components.

      Therefore, while the operator tries to create resources, if the create requests return error, then the errors resulting from "unable to create new content in namespace <namespace name> because it is being terminated" should be ignored. After ignoring such errors the operator should continue creating necessary resources in other namespaces.

      Acceptance Criteria

      • namespaces (and projects) being terminated or pending deletion are ignored from RBAC reconcile (or any other activity that needs creation of resources in that namespace)

            smukhade Shivam Mukhade (Inactive)
            rh-ee-nikthoma Nikhil Thomas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: