From 664380ec4291b2cee55bd9a29c2cd5ea9e294825 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kutner?= Date: Fri, 11 Nov 2022 13:45:13 +0100 Subject: [PATCH] Add patch verb to deployment resource Dashboard fails with ```failed restoring revision 21: deployments.apps "ourapp" is forbidden: User "system:serviceaccount:argo-rollouts:argo-rollouts-dashboard" cannot patch resource "deployments" in API group "apps" in the namespace "ournamespace"``` when trying to rollback `Rollout` defined using existing `Deployment` and `workloadRef` config. Adding `patch` verb for `deployments` should fix it. Signed-off-by: tukak --- manifests/dashboard-install/dashboard-clusterrole.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/dashboard-install/dashboard-clusterrole.yaml b/manifests/dashboard-install/dashboard-clusterrole.yaml index 2499752457..abfbc3cf35 100644 --- a/manifests/dashboard-install/dashboard-clusterrole.yaml +++ b/manifests/dashboard-install/dashboard-clusterrole.yaml @@ -49,6 +49,7 @@ rules: - update - list - watch + - patch - apiGroups: - apps resources: