Browse Source

Seems slightly aggressive of a run time, change to every 50 mins

35-pssaas-kerberos-bypass
Jonathan Christison 3 years ago
parent
commit
29889925d1
  1. 4
      k8s/stage/osh-client-tekton/tekton-cleanup-cronjob.yaml

4
k8s/stage/osh-client-tekton/tekton-cleanup-cronjob.yaml

@ -4,7 +4,7 @@ metadata:
name: tekton-terminator
namespace: pct-security-tooling
spec:
schedule: "*/10 * * * *"
schedule: "*/50 * * * *"
concurrencyPolicy: Forbid
backoffLimit: 2
jobTemplate:
@ -19,5 +19,5 @@ spec:
command:
- /bin/sh
- -c
- tkn pipelinerun delete --keep 10 -f && tkn taskrun delete --keep 20 -f
- tkn pipelinerun delete --keep 10 -f && tkn taskrun delete --keep 40 -f
restartPolicy: Never

Loading…
Cancel
Save