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.
  • Loading branch information
tukak authored Nov 11, 2022
1 parent 8f71c7e commit cfac3fb
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 cfac3fb

Please sign in to comment.