pipeline
pipeline copied to clipboard
PVC not deleted if PipelineRun deleted while still running
Expected Behavior
In coschedule: pipelineruns mode, when a PipelineRun that is still running is deleted, the associated PVC created by the volumeClaimTemplate is also deleted.
Actual Behavior
The created PVC is not deleted. This is unlike deleting a finished PipelineRun, where the PVC will be deleted.
Steps to Reproduce the Problem
- Enable
coschedule: pipelineruns - Create a PipelineRun with a
volumeClaimTemplate - Delete the PipelineRun before it completes
Additional Info
@QuanZhang-William related to #7138 ?
- Kubernetes version:
Server Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.4", GitCommit:"fa3d7990104d7c1f16943a67f11b154b71f6a132", GitTreeState:"clean", BuildDate:"2023-07-19T12:14:49Z", GoVersion:"go1.20.6", Compiler:"gc", Platform:"linux/amd64"}
- Tekton Pipeline version:
v0.53.0
cc @pritidesai @JeromeJu @jerop
@QuanZhang-William @gerrnot Did you manage to reproduce?
yes, reproducible with tkn version:
Client version: 0.36.0
Chains version: v0.20.0
Pipeline version: v0.56.1
Triggers version: v0.26.1
Dashboard version: v0.43.1
Operator version: v0.70.0