Helm Upgrade Failure: When Managed Fields Bite Back
Helm upgrade failed due to Kubernetes managedFields conflict. Learn why spec looked fine, yet patching caused errors, and how to fix it.
Recently I ran into a Helm upgrade failure that at first looked baffling:
Naturally, my first assumption was that something in the Deployment spec was invalid, perhaps both value and valueFrom had been set on the same environment variable.
But after reviewing the manifest, the spec looked completely fine. Only valueFrom was present.