<p>I got this error after the upgrade for my ingress from <code>networking.k8s.io/v1beta</code> to <code>networking.k8s.io/v1</code></p>
<pre><code>ComparisonError: failed to convert *unstructured.Unstructured to *v1beta1.Ingress: no kind &quot;Ingress&quot; is registered for version &quot;networking.k8s.io/v1&quot; in scheme &quot;pkg/runtime/scheme.go:101&quot;
</code></pre>
<p><strong>ingress.yaml</strong></p>
<pre><code>apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: {{ .Release.Name }}-ingress
  annotations:
    kubernetes.io/ingress.class: &quot;nginx&quot;
    nginx.org/websocket-services: &quot;{{ .Release.Name }}-service&quot;
    nginx.org/listen-ports: &quot;80,[::]:80,8443&quot;
    nginx.org/client-max-body-size: &quot;50m&quot;
    nginx.org/location-snippets: |
      proxy_set_header Bit-default-date-format $http_bit_default_date_format;
      proxy_set_header Bit-timezone $http_bit_timezone;
    nginx.org/proxy-pass-headers: &quot;X-Real-IP,X-Forwarded-For,X-Forwarded-Host,X-Forwarded-Port,X-Forwarded-Proto&quot;
spec:
  rules:
    - host: &quot;myHost&quot;
      http: 
        paths:
          - pathType: ImplementationSpecific
            backend:
             service: 
              name: {{ .Release.Name }}-service
              port:
                number: 80
</code></pre>
<p>any hint what I am missing?</p>
<p><strong>Kubernetes</strong> version <strong>1.20</strong></p>
<p><strong>Note</strong> this was an old project and I just update these variables without helm upgrade</p>

<p>my bad I updated the ingress file without run <code>helm upgrade</code>
I revert it back to <code>v1beta1</code> for  now</p>
