# You re-annotate ConfigMap flags so release 'platform' owns it, then upgrade release 'web' with a chart that no longer renders it. What happens to flags?

Helm, Hard (Expert), Concepts. https://k8wiz.com/uquiz/you-re-annotate-configmap-flags-so-release-platform-owns-it-then-upgrade-release-web-with-a-chart-that-no-longer-renders-it-what

- A. Helm skips it because its annotations name another release
- B. The upgrade fails with an invalid ownership metadata error
- C. Helm deletes it unless it has helm.sh/resource-policy: keep
- D. Helm keeps it but removes its meta.helm.sh annotations

**Answer:** Helm deletes it unless it has helm.sh/resource-policy: keep

**Explanation:** On upgrade, Helm deletes objects that were in the previous manifest but not in the new one, and the only thing it checks on the live object first is the helm.sh/resource-policy: keep annotation. It doesn't check who owns the object now. The ownership check before deleting was added to helm uninstall in 4.3, not to upgrade.
