Skip to content

Commit

Permalink
provide pods/exec resource permission (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mir Shahriar authored and tamalsaha committed May 23, 2018
1 parent 17b12c8 commit 1b7d364
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chart/searchlight/templates/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ rules:
- nodes
- namespaces
verbs: ["get", "list", "patch", "watch"]
- apiGroups: [""]
resources:
- pods/exec
verbs: ["create"]
- apiGroups: [""]
resources:
- events
Expand Down
4 changes: 4 additions & 0 deletions hack/deploy/rbac-list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ rules:
- nodes
- namespaces
verbs: ["get", "list", "patch", "watch"]
- apiGroups: [""]
resources:
- pods/exec
verbs: ["create"]
- apiGroups: [""]
resources:
- events
Expand Down

0 comments on commit 1b7d364

Please sign in to comment.