You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after bootstraping new cluster from existing repo, chart was first stuck in install retries exhausted and then become Helm uninstall failed: uninstall: Release not loaded: ingress-nginx-public: release: not found
root cause was I think absent HR dependency for ingress-nginx-public HR (prometheus for creating service monitor and rules), but while flux suspend|resume usually works on HR stuck in install retries exhausted I was not able to fix Helm uninstall failed up until I've restarted all flux pods: kustomize, helm, source controllers. although around the same time I've updated HR with dependency so might've been that instead.
What I've noticed is that there were zero traces of helm release: no resources or helm secrets. I've also tried to flux delete hr and then reconciling upstream kustomization to force whole HR recreation - but it was always stuck in Helm uninstall failed status. To me it looked like flux somehow recorded somewhere that this HR is installed and needs to be uninstalled and then failing for obvious reasons.
Will be doing same bootstrapping new cluster soon, will check if this happens again.
Reproduced with incorrect values for helm chart, so helm template was failing locally but HR status was Helm uninstall failed: uninstall: Release not loaded
I suspect its because of my HR config:
spec:
install:
remediation:
retries: 3
Makes sense - controller tries to install helm chart, fails, tries to uninstall as a remediation step, fails to uninstall since it's a first install, ends up with last failure message.
I noticed that when Helm encounters a templating error, the controller will not surface this in the Ready status nor in logs.
Given these values:
The Helm CLI errors out with:
Using the same values in a HelmRelease the controller logs:
The ready status shows no template error:
HelmRelease definition:
The text was updated successfully, but these errors were encountered: