-
Story
-
Resolution: Done
-
Blocker
-
Pipelines 1.7
-
None
-
3
-
False
-
None
-
False
-
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)