Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-1762

cronjob for a namespace is not getting deleted after disabling pruner from config CR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • Pipelines 1.6
    • Pipelines 1.6
    • Operator
    • None
    • 2
    • False
    • False
    • Pipelines Sprint 209, Pipelines Sprint 210, Pipelines Sprint 211, Pipelines Sprint 212

      cronjob for a namespace is not getting deleted after disabling pruner from config CR

      Steps to Reproduce

      1. Edit config CR with below values for pruner part 
        pruner:
            keep: 2
            resources:
              - taskrun
              - pipelinerun
            schedule: '*/1 * * * *'
        
      2. Add annotation operator.tekton.dev/prune.schedule: "/2 * * * * "
      3. Disable pruner in config CR

      Expected Behaviour
      Cronjob created in the namespace should get deleted

      Actual Behaviour
      Cronjob created in the namespace is not getting deleted

      Note: Cronjob is not getting delete even after removing the operator.tekton.dev/prune.schedule: "*/2 * * * *" annotation

            pradkuma PRADEEP KUMAR (Inactive)
            varadhya Veeresh Aradhya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: