<p>I get the below error in my helm upgrade stage. I did the following change <code>apiVersion: networking.k8s.io/v1beta1</code> to <code>apiVersion: networking.k8s.io/v1</code> Could someone kindly let me know the reason why I encounter this issue and the fix for the same. Any help is much appreciated</p>
<pre><code>Error: UPGRADE FAILED: 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 &quot;&quot;: no matches for 
kind &quot;Ingress&quot; in version &quot;networking.k8s.io/v1beta1&quot;
</code></pre>
<p><a href="https://i.stack.imgur.com/0iq1z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0iq1z.png" alt="enter image description here" /></a></p>

<p>The reason why you encounter the issue is Helm attempts to create a diff patch between the current deployed release (which contains the Kubernetes APIs that are removed in your current Kubernetes version) against the chart you are passing with the updated/supported API versions. So when Kubernetes removes an API version, the Kubernetes Go client library can no longer parse the deprecated objects and Helm therefore fails when calling the library.</p>
<p>Helm has the official documentation on how to recover from that scenario:
<a href="https://helm.sh/docs/topics/kubernetes_apis/#updating-api-versions-of-a-release-manifest" rel="nofollow noreferrer">https://helm.sh/docs/topics/kubernetes_apis/#updating-api-versions-of-a-release-manifest</a></p>
