hjacobs / kube-janitor

Clean up (delete) Kubernetes resources after a configured TTL (time to live)
GNU General Public License v3.0
472 stars 40 forks source link

[W.I.P] Add hacky support for deleting a helm release #34

Closed imduffy15 closed 4 years ago

imduffy15 commented 5 years ago

If tiller-host and tiller-port arguments are passed and the resource has a release label rather than executing a delete on the kubernetes resource this will execute a helm delete --purge {release} and delete the whole helm release.

Open to ideas on how to better handle this or if it is something of interest to the project.

sryabkov commented 5 years ago

Commenting on the idea, not implementation: it would be really useful to be able to use kube-janitor to auto clean up Helm releases