Skip to content

How to prevent garbage collection for helm releases? #2373

Answered by stefanprodan
ableuler asked this question in Q&A
Discussion options

You must be logged in to vote

Before deleting a HelmRelease you can suspend it with flux suspend hr <name> then flux delete hr <name>, and the actual Helm release will not be garbage collected. You can do the same in Git by setting the HelmRelease.spec.suspend to true, then reconcile, then delete it from Git.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@artem-nefedov
Comment options

Answer selected by ableuler
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2372 on February 03, 2022 07:32.