kube-hetzner / terraform-hcloud-kube-hetzner

Optimized and Maintenance-free Kubernetes on Hetzner Cloud in one command!
MIT License
2.4k stars 371 forks source link

[Bug]: The ClusterRoleBinding "system-upgrade" is invalid #1538

Closed maaft closed 1 week ago

maaft commented 2 weeks ago

Description

Got

The ClusterRoleBinding "system-upgrade" is invalid: roleRef: Invalid value: rbac.RoleRef{APIGroup:"rbac.authorization.k8s.io", Kind:"ClusterRole", Name:"system-upgrade-controller"}: cannot change roleRef

When applying with latest version on existing cluster.

Kube.tf file

did not change between applys

Screenshots

No response

Platform

Linux

maaft commented 2 weeks ago

Previous working version was v2.14.6

morinow commented 2 weeks ago

Same here when upgrading from 2.15.0 to 2.15.3

mysticaltech commented 1 week ago

Folks, brand new clusters work well now with the version. For upgrade, in case you experience issues:

kubectl delete -f https://raw.githubusercontent.com/rancher/system-upgrade-controller/9e7e45c1bdd528093da36be1f1f32472469005e6/manifests/system-upgrade-controller.yaml

Cleanup the old one. Then upgrade!