Open
Description
tkn version: 0.30.1
keep
and keep-since
support is introduced in #1533
though, when we supply keep
and keep-since
simultaneously
the out come always equivalent to keep
, keep-since
ignored
Pipelinerun:
cli/pkg/cmd/pipelinerun/delete.go
Lines 329 to 338 in f4d092c
taskrun:
Lines 379 to 388 in f4d092c
Expected behavior
tkn taskrun delete --keep=5 --keep-since=30
- after executed the above command, remaining
taskruns
will be ascount <= 5
andstart-time <= 30 minutes
- this is applicable for
pipelineruns
too