fix: system-upgrade-controller-drainer: add missing delete permission for pods in clusterrole
fix: system-upgrade-controller-drainer: add missing delete permission for pods in clusterrole
Fixes #319
cc. @brandond @SISheogorath
cc. @jiaqiluo @bfbachmann
I install the system-upgrade-controller via a Helm chart. Then apply the plan via ArgoCD which triggers the upgrade rollout.
Hey @damdo - thanks for the PR, I was doing that manually though.But adding delete permissions has a (I think) unwanted effect - pod with a job itself is being killed during/after drain phase.
Ahh.. I see. The controller itself does not delete pods, but the kubectl drain command does - and it runs with the controller's serviceaccount rbac.