-
Story
-
Resolution: Done
-
Undefined
-
None
Problem
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
Acceptance Criteria
- Add resourceExclusions rule for Tekton PipelineRun and TaskRun by default for all argoCD instances.
- For doing that add the rule to our sample csv so that any new ArgoCD instance created from the web console get this setting by default.
- NOTE : This will only work for Argo instance created from console not CLI