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

Implement default resource exclusions in operator for Tekton pipeline and task run

XMLWordPrintable

    • 5
    • False
    • None
    • False
    • Hide
      With this update, resource exclusions for Tekton pipeline runs and tasks runs are added by default. Argo CD, prunes these resources by default. These resource exclusions are added to the new Argo CD instances that are created from the OpenShift Container Platform. If the instances are created from the CLI, the resources are not added.
      Show
      With this update, resource exclusions for Tekton pipeline runs and tasks runs are added by default. Argo CD, prunes these resources by default. These resource exclusions are added to the new Argo CD instances that are created from the OpenShift Container Platform. If the instances are created from the CLI, the resources are not added.
    • GITOPS Sprint 218, GITOPS Sprint 219

      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

      1. Add resourceExclusions rule for Tekton PipelineRun and TaskRun by default for all argoCD instances.
      2. 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.
      3. NOTE : This will only work for Argo instance created from console not CLI 

            saumeyakatyal Saumeya Katyal
            saumeyakatyal Saumeya Katyal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: