Skip to content

fix(helm): respect resource policy on ungrade - #7714

Merged
bacongobbler merged 3 commits into
helm:masterfrom
donggangcj:respect-resource-policy-on-upgrade
Mar 3, 2020
Merged

bacongobbler merged 3 commits into
helm:masterfrom
donggangcj:respect-resource-policy-on-upgrade

Conversation

@donggangcj

Copy link
Copy Markdown

Don't delete a resource on upgrade if it is annotated with
helm.io/resource-policy=keep. This can cause data loss for users
if the annotation is ignored(e.g. for a PVC)

Close #7677

Signed-off-by: Dong Gang [email protected]

Don't delete a resource on upgrade if it is annotated with
helm.io/resource-policy=keep. This can cause data loss for users
if the annotation is ignored(e.g. for a PVC)

Close helm#7677

Signed-off-by: Dong Gang <[email protected]>
@helm-bot helm-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Mar 2, 2020
Dong Gang added 2 commits March 2, 2020 14:47
@bacongobbler
bacongobbler merged commit 6bed594 into helm:master Mar 3, 2020
@donggangcj
donggangcj deleted the respect-resource-policy-on-upgrade branch March 4, 2020 00:50
@turkenh

turkenh commented Mar 11, 2020

Copy link
Copy Markdown

What is the ETA for a helm3 release including this fix?

@jgoeres

jgoeres commented Mar 16, 2020

Copy link
Copy Markdown

Same question here, we need this ASAP, too.

@midestefanis

Copy link
Copy Markdown

I was having the same problem with helm v3.1.2. Please I need this solution. Thank you

@bacongobbler

Copy link
Copy Markdown
Member

@hickeyma hickeyma added this to the 3.2.0 milestone Apr 9, 2020
@hickeyma hickeyma added the needs-pick Indicates that a PR needs to be cherry-picked into the next release candidate. label Apr 9, 2020
@marckhouzam marckhouzam removed the needs-pick Indicates that a PR needs to be cherry-picked into the next release candidate. label Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Annotation "helm.sh/resource-policy: keep" is ignored on helm upgrade

8 participants