Skip to content

Commit

Permalink
fix(charts): controller needs the "patch" perm
Browse files Browse the repository at this point in the history
The controller updates by "patch" which is now a separate perm in
apps/v1 from the looks of things. Turns out there wasn't ever any Python
code change needed to tackle this long-standing straggler issue! *whew*
  • Loading branch information
Kingdon Barrett committed Oct 4, 2020
1 parent 5b37960 commit 9c66b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/controller/templates/controller-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ rules:
verbs: ["get", "list", "create", "update", "delete"]
- apiGroups: ["extensions", "apps"]
resources: ["deployments/scale", "replicasets/scale"]
verbs: ["get", "update"]
verbs: ["get", "update", "patch"]
- apiGroups: ["extensions", "autoscaling"]
resources: ["horizontalpodautoscalers"]
verbs: ["get", "list", "create", "update", "delete"]
Expand Down

0 comments on commit 9c66b39

Please sign in to comment.