-
Bug
-
Resolution: Done
-
Major
-
Pipelines 1.6
-
None
-
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-