Cleanup pipeline runs

This commit is contained in:
Marcus Noble 2020-06-05 22:49:21 +01:00
parent 43c8b7b61e
commit f0d29be3f7

View File

@ -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
--- ---