Cleanup pipeline runs
This commit is contained in:
parent
43c8b7b61e
commit
f0d29be3f7
@ -53,11 +53,11 @@ data:
|
||||
rules.yaml: |-
|
||||
rules:
|
||||
- id: tekton-tasks
|
||||
# remove deployments and statefulsets without a label "application"
|
||||
resources:
|
||||
- pods
|
||||
- pipelineruns
|
||||
jmespath: "(metadata.labels.\"tekton.dev/pipeline\")"
|
||||
ttl: 1h
|
||||
ttl: 3h
|
||||
|
||||
---
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user