GENERAL: How to resolve current release manifest contains removed kubernetes api(s) for this kubernetes version

AuthorFullName__c
Paul Pan
articleNumber
000005976
FirstPublishedDate
2024-01-10T11:58:51Z
lastModifiedDate
2025-05-21

GENERAL: How to resolve current release manifest contains removed kubernetes api(s) for this kubernetes version

With the upgrade of your Kubernetes cluster versions, some api objects might become deprecated. Ideally, you should upgrade the application chart version before upgrading your Kubernetes cluster version. 

However, if you have already upgraded your kubernetes cluster version, you might encounter the following error when upgrading your releases.

Error: UPGRADE FAILED: The current release manifest contains removed kubernetes api(s) for this kubernetes version and it is therefore unable to build the kubernetes objects for performing the diff. error from kubernetes: unable to recognize "": 


The solution is to either use the mapkubeapi plugin or follow the manual fix described in Helm official documentation

Check out the CHANGELOG.md for the relevant chart to make sure the new version has the upgraded api