Skip to content

Commit

Permalink
Add pods/portforward to role
Browse files Browse the repository at this point in the history
  • Loading branch information
jpreese committed Mar 6, 2020
1 parent e830362 commit 1ab98c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ One `ClusterRoleBinding` per name in the `owners` field

|Verbs|API Groups|Resources|
|---|---|---|
|*|core|pods, pods/log, services, services/finalizers, endpoints, persistentvolumeclaims, events, configmaps, replicationcontrollers|
|*|core|pods, pods/log, pods/portforward, services, services/finalizers, endpoints, persistentvolumeclaims, events, configmaps, replicationcontrollers|
|*|apps|deployments, daemonsets, replicasets, statefulsets|
|*|autoscaling|horizontalpodautoscalers|
|*|batch|jobs, cronjobs|
Expand Down
1 change: 1 addition & 0 deletions controller/sandbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ func getRole(sandbox operatorsv1alpha1.Sandbox) rbacv1.Role {
Resources: []string{
"pods",
"pods/log",
"pods/portforward",
"services",
"services/finalizers",
"endpoints",
Expand Down

0 comments on commit 1ab98c2

Please sign in to comment.