Skip to content

Commit

Permalink
Add patch verb to deployment resource
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tukak committed Nov 11, 2022
1 parent 8f71c7e commit 664380e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manifests/dashboard-install/dashboard-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ rules:
- update
- list
- watch
- patch
- apiGroups:
- apps
resources:
Expand Down

0 comments on commit 664380e

Please sign in to comment.