From f0d29be3f7415b166824a6809739bd756c750859 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Fri, 5 Jun 2020 22:49:21 +0100 Subject: [PATCH] Cleanup pipeline runs --- manifests/kube-janitor.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/kube-janitor.yaml b/manifests/kube-janitor.yaml index ae9fa38..90bcbcd 100644 --- a/manifests/kube-janitor.yaml +++ b/manifests/kube-janitor.yaml @@ -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 ---