helm: helm 3 beta 5, cannot uninstall releases done by same ver
there are always release secrets that cannot be removed automatically.
helm3 uninstall nginx-ingress -n ingress-nginx
Error: uninstallation completed with 1 error(s): uninstall: Failed to purge the release: delete: failed to get release "sh.helm.release.v1.nginx-ingress.v1": release: not found
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17 (11 by maintainers)
Yes, that version uses helm3-beta3 - https://github.com/fluxcd/helm-operator/blob/71bc9d62c9654a7ea568dd37dda8f8a7bdbd4667/go.mod#L29
@masterkain Sorry about the issue. The issue here is, there was a breaking change in between the beta releases, where we changed the way releases are stored - the names of the secrets / configmaps basically. This breaking change happened in bet4. So, if you used v3-beta3 or older versions to install, then you will have to use those to delete the releases.
Here’s an example of what I’m telling
When installing with helm3-beta4, this is how secrets will look:
As you can see helm3-beta4 (or newer) releases cannot be deleted by older versions