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

Exclude Tekton Runs from ArgoCD by default

XMLWordPrintable

    • Exclude Tekton Runs from ArgoCD by default
    • False
    • False
    • To Do
    • 0% To Do, 0% In Progress, 100% Done

      Goal
      TaskRun and PipelineRun should be excluded from ArgoCD by default

       

      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 

       

      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.

       

      Acceptance Criteria

      1. Add resourceExclusions rule for Tekton PipelineRun and TaskRun by default for all argoCD instances.

       

       

              saumeyakatyal Saumeya Katyal
              rh-ee-ssadeghi Siamak Sadeghianfar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: