Skip to content

Commit

Permalink
Add endpoints list and watch permission for controller-manager (#590)
Browse files Browse the repository at this point in the history
Signed-off-by: Aylei <[email protected]>
  • Loading branch information
aylei authored and weekface committed Jun 18, 2019
1 parent ddcb27c commit b9fb5eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/tidb-operator/templates/controller-manager-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ rules:
verbs: ["*"]
- apiGroups: [""]
resources: ["endpoints"]
verbs: ["create", "get", "update"]
verbs: ["create", "get", "list", "watch", "update"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "watch", "update", "delete"]
Expand Down Expand Up @@ -88,7 +88,7 @@ rules:
verbs: ["*"]
- apiGroups: [""]
resources: ["endpoints"]
verbs: ["create", "get", "update"]
verbs: ["create", "get", "list", "watch", "update"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "watch", "update", "delete"]
Expand Down

0 comments on commit b9fb5eb

Please sign in to comment.