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