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

auto-pruner cronjob gets recreated for adding/removing annotation/label to the namespace

XMLWordPrintable

    • 5
    • False
    • False
    • Pipelines Sprint 212, Pipelines Sprint 213

      auto-pruner cronjob gets recreated for adding/removing annotation/label to the namespace

      Steps to Reproduce

      • Edit config CR with below values for pruner part
        pruner:
        keep: 2
        resources:
        - taskrun
        - pipelinerun
        schedule: '*/2 * * * *'
        
      •  Observe the cronjob with the prefix tekton-resource-pruner- getting created in the namespace openshift-pipelines
      • Wait for some time and add(or remove) label/annotation (any label or annotation which is not related to auto pruning config) from any namespace

      Expected Behaviour

      The cronjob observed in step number 2 should be present

      Observed Behaviour

      The cronjob observed in step number 2 gets deleted and a new cronjob gets created with the prefix tekton-resource-pruner-

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

                Created:
                Updated:
                Resolved: