Skip to content

Commit

Permalink
Merge pull request rancher#45022 from crobby/fixssscalebackport
Browse files Browse the repository at this point in the history
[2.8] Add RBAC for statefulsets/scale for the Manage Workloads RoleTemplate
  • Loading branch information
crobby authored Apr 8, 2024
2 parents 5ed0e02 + aef1acb commit 2fe170c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/data/management/role_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ func addRoles(wrangler *wrangler.Context, management *config.ManagementContext)
addRule().apiGroups("").resources("pods", "pods/attach", "pods/exec", "pods/portforward", "pods/proxy", "replicationcontrollers",
"replicationcontrollers/scale").verbs("*").
addRule().apiGroups("apps").resources("daemonsets", "deployments", "deployments/rollback", "deployments/scale", "replicasets",
"replicasets/scale", "statefulsets").verbs("*").
"replicasets/scale", "statefulsets", "statefulsets/scale").verbs("*").
addRule().apiGroups("autoscaling").resources("horizontalpodautoscalers").verbs("*").
addRule().apiGroups("batch").resources("cronjobs", "jobs").verbs("*").
addRule().apiGroups("").resources("limitranges", "pods/log", "pods/status", "replicationcontrollers/status", "resourcequotas", "resourcequotas/status", "bindings").verbs("get", "list", "watch").
Expand Down

0 comments on commit 2fe170c

Please sign in to comment.