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
{{ message }}
Repository navigation
Annotation "helm.sh/resource-policy: keep" is ignored on helm upgrade #7677
I use the annotation "helm.sh/resource-policy": keep to protect some PVCs from deletion on helm uninstall, which works fine. Alas, on helm upgrade, the PVCs are deleted, taking my data with them.
Observed on Helm 3.0.3 and Helm 3.1.1.
This seems to be a regression, as I found this issue: #3673
Activity
mattfarina commentedon Feb 25, 2020
Thanks for catching this. The fix for v2 was merged after the v3 branch had been created and we missed pulling the fix over.
fix(helm): respect resource policy on ungrade
alexluft commentedon Mar 3, 2020
This is very serious and leads to data loss / corruption. Please merge ASAP.
midestefanis commentedon Apr 8, 2020
I was having the same problem with helm v3.1.2. Please I need this solution. Thank you
jgoeres commentedon Apr 23, 2020
Works with Helm 3.2.0, thank you. :-)
Feat/oci dependencies (#1)
fix(helm): respect resource policy on ungrade
zze326 commentedon Apr 12, 2022
The problems still exist in the latest version.