TaskRun and PipelineRun should be excluded from ArgoCD by default
ArgoCD prunes TaskRun and PipelineRun objects if pipeline is manged by it. To avoid the pruning, an exclusion rule needs to be added explicitly. An example below. The exclusion should happen by default.
resourceExclusions: | - apiGroups: - tekton.dev clusters: - '*' kinds: - TaskRun - PipelineRun
Why is it needed?
ArgoCD prunes any PipelineRun object if it manages the Pipeline and it requires exclusion rules in ArgoCD to avoid that. They should be excluded by default.
1. Add resourceExclusions rule for Tekton PipelineRun and TaskRun by default for all argoCD instances.
RFE-2614 TaskRun and PipelineRun should be excluded from ArgoCD by default