-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Per feedback from Slack:
I was taking a look at upgrading Rancher 2.13.1 to 2.13.2 and noticed that even though the documentation at https://documentation.suse.com/cloudnative/rancher-manager/v2.13/en/installation-and-upgrade/upgrades.html mention the helm chart name change from "rancher-prime" back to "rancher", it doesn't actually clearly tell the user what to do. There will be an error about the ingress, and if you don't remove it first, the upgrade will fail. Maybe we should add this detail to the docs?
here's the two conflicting helm chart names:
helm repo update Hang tight while we grab the latest from your chart repositories... ...Successfully got an update from the "rancher-prime" chart repository Update Complete. ⎈Happy Helming!⎈ helm search repo NAME CHART VERSION APP VERSION DESCRIPTION rancher-prime/rancher 2.13.2 v2.13.2 Install SUSE Rancher Prime to manage Kubernetes... rancher-prime/rancher-prime 2.13.1 v2.13.1 Install SUSE Rancher Prime to manage Kubernetes...Here is the error:
helm upgrade rancher rancher-prime/rancher \ --namespace cattle-system --set hostname=<HOSTNAME> Error: UPGRADE FAILED: failed to create resource: admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: host "<HOSTNAME>" and path "/" is already defined in ingress cattle-system/rancher-rancher-primeAnd here is the solution:
helm get values rancher -n cattle-system -o yaml > rancher-values.yaml kubectl delete ingress rancher-rancher-prime -n cattle-system ingress.networking.k8s.io "rancher-rancher-prime" deleted helm upgrade rancher rancher-prime/rancher \ --namespace cattle-system \ -f rancher-values.yaml \ --version 2.13.2 Release "rancher" has been upgraded. Happy Helming! NAME: rancher LAST DEPLOYED: Wed Feb 11 12:58:29 2026 NAMESPACE: cattle-system STATUS: deployed
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels