due to unfortunate circumstance, we have to fix a rancher system running on rke with kubernetes v1.23.8. the rancher installation on the system is version 2.6.3. A recent upgrade of the underlaying kubernetes version upgraded the ingress that shipped with the rancher installations' helm chart from
networking.k8s.io/v1beta1 to
networking.k8s.io/v1. Subsequent attempts to use helm upgrade to upgrade the rancher installation are failing because helm can no longer find
networking.k8s.io/v1beta1 (even though neither the new version of rancher nor the current ingress resource use that version). I'm
assuming that helm is using the old release manifest and is attempting to compare that while upgrading but I am not entirely sure why it is trying to use the old ingress version. The exact error message is
Error: UPGRADE FAILED: unable to build kubernetes objects from current release manifest: resource mapping not found for name: "rancher" namespace: "" from "": no matches for kind "Ingress" in version "<http://networking.k8s.io/v1beta1|networking.k8s.io/v1beta1>"
ensure CRDs are installed first
I'd absolutely love any help on this