helm: related Job objects won't be deleted when Cronjob object is deleted
I have created a chart which will run a CronJob but after helm delete, Job objects created by CronJob won’t be deleted.
The sample chart could be downloaded from here (The tgz file should be decompressed firstly and then could be installed).
Install the chart:

Delete the chart:

About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 12
- Comments: 16 (6 by maintainers)
Same behavior with
Client: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}With helm 2.9 and k8s 1.10.1 I see the same thing. This was… pretty surprising.
I’m seeing this issue with Helm 2.8.2, k8s 1.8.7. When using
kubectl deleteto delete aCronJobcreated by a Helm chart, all childJobs are cleaned up. When usinghelm delete --purge, the childJobs are left hanging around./remove-lifecycle stale