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

pruner cron job won't get deleted when user reverts tektonconfigs to defaults

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • Pipelines 1.5
    • Pipelines 1.5
    • Operator
    • None
    • False
    • False
    • Undefined

      Cron Job of auto-prune not getting deleted when user reverts pruner configĀ  to default in tektonconfig

      Steps to Reproduce:

      1. Install Openshift Pipelines 1.5
      2. Update config CR with the below values
      pruner:
          keep: 2
          resources:
            - pipelinerun
          schedule: '*/5 * * * *'
      1. Check if the cronjob got created in namepsace `openshift-pipelines`
      2. After sometime try to revert changeĀ to default in tektonconfig
        pruner: 
           keep: 1
           schedule: ''
        

      Expected Behaviour:

      • It should remove cronjob on openshift-pipelines namespace

      Actual Behaviour:

      • But cronjob still continues with older configuration.

            pradkuma PRADEEP KUMAR (Inactive)
            pthangad Praveen Kumar Reddy Thangadancha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: