-
is there easy way to delete completed taskRun or pipelineRun that generated by TriggerTemplate? |
Beta Was this translation helpful? Give feedback.
Answered by
dibyom
Nov 30, 2021
Replies: 1 comment 1 reply
-
By easy are you talking about automatic or a single command? Triggers adds the EventListener/Trigger info that was used to create a resource as a label so something like a For automatic cleanup, we do not have anything built in to Triggers |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ec2ainun
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By easy are you talking about automatic or a single command?
Triggers adds the EventListener/Trigger info that was used to create a resource as a label so something like a
kubectl delete taskruns -l "triggers.tekton.dev/eventlistener=<EL-NAME>"
should workFor automatic cleanup, we do not have anything built in to Triggers