helm-controller icon indicating copy to clipboard operation
helm-controller copied to clipboard

Cannot delete charts

Open brandonkal opened this issue 4 years ago • 8 comments

As the title says. I have several charts that just won't delete. kubectl hangs after saying a chart was deleted (but it is not). No job is started to delete the chart.

brandonkal avatar Mar 05 '20 08:03 brandonkal

I'm working around the problem by deleting the entire cluster and starting over. :laughing:

jdmarble avatar Mar 14 '20 20:03 jdmarble

That's exactly what I had to do. Now I'm just templating out of cluster. I'm not sure why the finalizer doesn't run.

brandonkal avatar Mar 14 '20 22:03 brandonkal

In my case, I manage to overcome this by editing the HelmChart and setting metadata.finalizers to an empty list (rke2).

zifeo avatar Apr 28 '22 21:04 zifeo

Anyone looking at this?

rasmusson avatar Oct 06 '23 14:10 rasmusson

@rasmusson no

cornfeedhobo avatar Nov 04 '23 20:11 cornfeedhobo

I have the same issue and need to patch the finalizers as well. My use-case is on bootstrap of my k3s cluster I have Cilium installed with the k3s HelmChart CR but trying to get the HelmChart to un-manage it after it is installed was quite a task. I want k3s to un-manage Cilium so Flux can take it over.

IMO the last task in this Ansible script should not be needed but it's my workaround for now.

onedr0p avatar Jan 10 '24 12:01 onedr0p